Gemini899 commited on
Commit
fd00e11
·
verified ·
1 Parent(s): 4160088

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -77,12 +77,6 @@ demo = gr.TabbedInterface(
77
  [tab1, tab2, tab3], ["Image Upload", "URL Input", "File Output"], title="Background Removal Tool"
78
  )
79
 
80
- # Launch the app with compatible parameters
81
  if __name__ == "__main__":
82
- demo.launch(
83
- show_error=True,
84
- share=True,
85
- server_name="0.0.0.0",
86
- server_port=7860,
87
- cors_allowed_origins=["*"] # Only use this parameter for CORS
88
- )
 
77
  [tab1, tab2, tab3], ["Image Upload", "URL Input", "File Output"], title="Background Removal Tool"
78
  )
79
 
80
+ # Launch the app with minimal parameters
81
  if __name__ == "__main__":
82
+ demo.launch(show_error=True)