Spaces:
Sleeping
Sleeping
Fix Space crash: upgrade gradio stack + disable api schema
Browse files- __pycache__/app.cpython-311.pyc +0 -0
- app.py +1 -1
- requirements.txt +3 -2
__pycache__/app.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
|
app.py
CHANGED
|
@@ -544,4 +544,4 @@ with gr.Blocks(title="Sanskrit Diffusion Client Demo", css=CUSTOM_CSS) as demo:
|
|
| 544 |
|
| 545 |
if __name__ == "__main__":
|
| 546 |
port = int(os.environ["GRADIO_SERVER_PORT"]) if "GRADIO_SERVER_PORT" in os.environ else None
|
| 547 |
-
demo.launch(server_name="0.0.0.0", server_port=port, share=False)
|
|
|
|
| 544 |
|
| 545 |
if __name__ == "__main__":
|
| 546 |
port = int(os.environ["GRADIO_SERVER_PORT"]) if "GRADIO_SERVER_PORT" in os.environ else None
|
| 547 |
+
demo.launch(server_name="0.0.0.0", server_port=port, share=False, show_api=False)
|
requirements.txt
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
-
gradio==5.
|
|
|
|
| 2 |
torch>=2.2
|
| 3 |
numpy>=1.24
|
| 4 |
tqdm>=4.66
|
| 5 |
-
huggingface_hub=
|
| 6 |
tokenizers>=0.15
|
| 7 |
datasets>=2.20
|
| 8 |
scikit-learn>=1.4
|
|
|
|
| 1 |
+
gradio==5.23.3
|
| 2 |
+
gradio_client==1.8.0
|
| 3 |
torch>=2.2
|
| 4 |
numpy>=1.24
|
| 5 |
tqdm>=4.66
|
| 6 |
+
huggingface_hub>=0.28,<1.0
|
| 7 |
tokenizers>=0.15
|
| 8 |
datasets>=2.20
|
| 9 |
scikit-learn>=1.4
|