Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -264,7 +264,7 @@ def create_gradio_interface():
|
|
264 |
if __name__ == "__main__":
|
265 |
try:
|
266 |
demo = create_gradio_interface()
|
267 |
-
demo.launch(server_name="0.0.0.0", server_port=
|
268 |
except Exception as e:
|
269 |
logger.error(f"Failed to launch Gradio demo: {e}")
|
270 |
print(f"Error launching demo: {e}. Try running locally with a different port or without share=True.")
|
|
|
264 |
if __name__ == "__main__":
|
265 |
try:
|
266 |
demo = create_gradio_interface()
|
267 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, share=False)
|
268 |
except Exception as e:
|
269 |
logger.error(f"Failed to launch Gradio demo: {e}")
|
270 |
print(f"Error launching demo: {e}. Try running locally with a different port or without share=True.")
|