broadfield-dev commited on
Commit
4482d63
·
verified ·
1 Parent(s): c507670

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=False)
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)