Spaces:
Runtime error
Runtime error
Aguilar Elizondo commited on
Commit ·
7b5b079
1
Parent(s): af0d24e
Fix: Upgrade to Gradio 5.x and configure launch for HF Spaces
Browse files- app.py +1 -2
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -232,6 +232,5 @@ if __name__ == "__main__":
|
|
| 232 |
demo.queue(max_size=10) # Enable queue for multiple users
|
| 233 |
demo.launch(
|
| 234 |
server_name="0.0.0.0",
|
| 235 |
-
server_port=7860
|
| 236 |
-
share=False
|
| 237 |
)
|
|
|
|
| 232 |
demo.queue(max_size=10) # Enable queue for multiple users
|
| 233 |
demo.launch(
|
| 234 |
server_name="0.0.0.0",
|
| 235 |
+
server_port=7860
|
|
|
|
| 236 |
)
|
requirements.txt
CHANGED
|
@@ -16,7 +16,7 @@ numpy>=1.24.0
|
|
| 16 |
basicsr>=1.4.2
|
| 17 |
|
| 18 |
# Gradio interface
|
| 19 |
-
gradio>=
|
| 20 |
|
| 21 |
# Configuration
|
| 22 |
pydantic>=2.5.0
|
|
|
|
| 16 |
basicsr>=1.4.2
|
| 17 |
|
| 18 |
# Gradio interface
|
| 19 |
+
gradio>=5.0.0
|
| 20 |
|
| 21 |
# Configuration
|
| 22 |
pydantic>=2.5.0
|