segovia commited on
Commit
ce34c91
·
1 Parent(s): a154425
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -121,7 +121,7 @@ if __name__ == "__main__":
121
  share_enabled = True
122
 
123
  try:
124
- build_app().launch(share=True)
125
  except Exception as exc:
126
  print(f"Share link unavailable ({exc}). Starting local-only Gradio app instead.")
127
- build_app().launch(share=False)
 
121
  share_enabled = True
122
 
123
  try:
124
+ build_app().launch(server_name="0.0.0.0", server_port=7860, theme=gr.themes.Soft())
125
  except Exception as exc:
126
  print(f"Share link unavailable ({exc}). Starting local-only Gradio app instead.")
127
+ build_app().launch()