Spaces:
Sleeping
Sleeping
ibcplateformes Claude Opus 4.6 commited on
Commit ·
8f53e55
1
Parent(s): 1197ac9
Fix gradio compatibility: upgrade to 4.44.1+ and set server_name
Browse filesFixes TypeError in gradio_client json_schema_to_python_type with
additionalProperties being a bool. Also adds server_name="0.0.0.0"
for HF Spaces container environment.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- README.md +1 -1
- app.py +1 -1
- requirements.txt +1 -1
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: "\U0001F3A4"
|
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: blue
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 4.44.
|
| 8 |
python_version: "3.10"
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
|
|
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: blue
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.1
|
| 8 |
python_version: "3.10"
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
app.py
CHANGED
|
@@ -437,4 +437,4 @@ with gr.Blocks(
|
|
| 437 |
|
| 438 |
|
| 439 |
if __name__ == "__main__":
|
| 440 |
-
app.launch()
|
|
|
|
| 437 |
|
| 438 |
|
| 439 |
if __name__ == "__main__":
|
| 440 |
+
app.launch(server_name="0.0.0.0")
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Gradio + HuggingFace
|
| 2 |
-
gradio=
|
| 3 |
spaces
|
| 4 |
huggingface_hub>=0.23.0
|
| 5 |
|
|
|
|
| 1 |
# Gradio + HuggingFace
|
| 2 |
+
gradio>=4.44.1
|
| 3 |
spaces
|
| 4 |
huggingface_hub>=0.23.0
|
| 5 |
|