fixed a gradio version error
Browse files
app.py
CHANGED
|
@@ -665,6 +665,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
| 665 |
print("Launching Gradio app...")
|
| 666 |
app.launch(
|
| 667 |
favicon_path="static/manifest.json" if os.path.exists("static/manifest.json") else None,
|
|
|
|
|
|
|
|
|
|
| 668 |
show_error=True
|
| 669 |
)
|
| 670 |
print("Gradio app launched.")
|
|
|
|
| 665 |
print("Launching Gradio app...")
|
| 666 |
app.launch(
|
| 667 |
favicon_path="static/manifest.json" if os.path.exists("static/manifest.json") else None,
|
| 668 |
+
server_name="0.0.0.0",
|
| 669 |
+
server_port=7860,
|
| 670 |
+
ssr_mode=False,
|
| 671 |
show_error=True
|
| 672 |
)
|
| 673 |
print("Gradio app launched.")
|