Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def remove_background(image):
|
|
| 27 |
# 界面设置
|
| 28 |
iface = gr.Interface(
|
| 29 |
fn=remove_background,
|
| 30 |
-
api_name=
|
| 31 |
analytics_enabled=False,
|
| 32 |
inputs=gr.Image(label="Upload Image"),
|
| 33 |
outputs=gr.Image(label="Output Image", type="filepath"),
|
|
@@ -49,4 +49,4 @@ iface = gr.Interface(
|
|
| 49 |
)
|
| 50 |
|
| 51 |
if __name__ == "__main__":
|
| 52 |
-
iface.launch(show_error=True, show_api=
|
|
|
|
| 27 |
# 界面设置
|
| 28 |
iface = gr.Interface(
|
| 29 |
fn=remove_background,
|
| 30 |
+
api_name=False,
|
| 31 |
analytics_enabled=False,
|
| 32 |
inputs=gr.Image(label="Upload Image"),
|
| 33 |
outputs=gr.Image(label="Output Image", type="filepath"),
|
|
|
|
| 49 |
)
|
| 50 |
|
| 51 |
if __name__ == "__main__":
|
| 52 |
+
iface.launch(show_error=True, show_api=False)
|