Spaces:
Sleeping
Sleeping
Commit ·
1b913e8
1
Parent(s): 7de900a
Fix Gradio version and add server config for HF Spaces
Browse files- app.py +1 -1
- requirements.txt +1 -2
app.py
CHANGED
|
@@ -132,4 +132,4 @@ It may NOT accurately detect:
|
|
| 132 |
|
| 133 |
|
| 134 |
if __name__ == "__main__":
|
| 135 |
-
demo.launch()
|
|
|
|
| 132 |
|
| 133 |
|
| 134 |
if __name__ == "__main__":
|
| 135 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|
requirements.txt
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
-
gradio==4.
|
| 2 |
tensorflow==2.17.0
|
| 3 |
numpy>=1.24.0
|
| 4 |
Pillow>=10.0.0
|
| 5 |
-
huggingface_hub>=0.21.0,<1.0.0
|
|
|
|
| 1 |
+
gradio==4.19.2
|
| 2 |
tensorflow==2.17.0
|
| 3 |
numpy>=1.24.0
|
| 4 |
Pillow>=10.0.0
|
|
|