Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -325,7 +325,7 @@ if __name__ == "__main__":
|
|
325 |
try:
|
326 |
# When running in Hugging Face Spaces, share=False is recommended.
|
327 |
# The Space itself provides the public URL.
|
328 |
-
iface.launch(server_name="0.0.0.0", server_port=7860, share=
|
329 |
logger.info("Gradio app started successfully.")
|
330 |
except Exception as e:
|
331 |
logger.error(f"Failed to start Gradio app: {str(e)}", exc_info=True)
|
|
|
325 |
try:
|
326 |
# When running in Hugging Face Spaces, share=False is recommended.
|
327 |
# The Space itself provides the public URL.
|
328 |
+
iface.launch(server_name="0.0.0.0", server_port=7860, share=True)
|
329 |
logger.info("Gradio app started successfully.")
|
330 |
except Exception as e:
|
331 |
logger.error(f"Failed to start Gradio app: {str(e)}", exc_info=True)
|