PeterKruger commited on
Commit
ed08a6f
·
verified ·
1 Parent(s): aaff80f

fixed a gradio version error

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -665,6 +665,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
665
  print("Launching Gradio app...")
666
  app.launch(
667
  favicon_path="static/manifest.json" if os.path.exists("static/manifest.json") else None,
 
 
 
668
  show_error=True
669
  )
670
  print("Gradio app launched.")
 
665
  print("Launching Gradio app...")
666
  app.launch(
667
  favicon_path="static/manifest.json" if os.path.exists("static/manifest.json") else None,
668
+ server_name="0.0.0.0",
669
+ server_port=7860,
670
+ ssr_mode=False,
671
  show_error=True
672
  )
673
  print("Gradio app launched.")