Muhammadidrees commited on
Commit
20a300a
Β·
verified Β·
1 Parent(s): 1a55d03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -542,6 +542,5 @@ with gr.Blocks(theme=gr.themes.Soft(), css="""
542
  # ------------------------------------------------------
543
  # πŸ”Ή STEP 7: Launch for Hugging Face Spaces
544
  # ------------------------------------------------------
545
- print("πŸš€ Launching Gradio interface...")
546
- demo.queue()
547
- demo.launch()
 
542
  # ------------------------------------------------------
543
  # πŸ”Ή STEP 7: Launch for Hugging Face Spaces
544
  # ------------------------------------------------------
545
+ if __name__ == "__main__":
546
+ demo.launch(server_name="0.0.0.0", server_port=7860, show_error=True)