Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
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)
|
|
|
|
|
|
|
|
|
|
|
|