vMyth commited on
Commit
57765ce
·
verified ·
1 Parent(s): e1f454d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -66,11 +66,6 @@ demo = gr.Interface(
66
 
67
  # Launch the app
68
  if __name__ == "__main__":
69
- demo.launch(share=True)
70
  else:
71
- demo.launch(
72
- share=True, # This enables the public URL
73
- show_error=True,
74
- server_name="0.0.0.0", # Allows external connections
75
- server_port=7860 # Default Gradio port
76
- )
 
66
 
67
  # Launch the app
68
  if __name__ == "__main__":
69
+ demo.launch()
70
  else:
71
+ demo.launch(show_error=True)