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