Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files
remove-backround-gradio.py
CHANGED
|
@@ -248,7 +248,4 @@ with gr.Blocks(title="Background Removal Tool", theme=gr.themes.Default()) as ap
|
|
| 248 |
)
|
| 249 |
|
| 250 |
if __name__ == "__main__":
|
| 251 |
-
app.launch(
|
| 252 |
-
mcp_server=True, # Enable MCP server
|
| 253 |
-
mcp_functions=[remove_background_single, remove_background_multiple] # Expose these functions
|
| 254 |
-
)
|
|
|
|
| 248 |
)
|
| 249 |
|
| 250 |
if __name__ == "__main__":
|
| 251 |
+
app.launch(mcp_server=True)
|
|
|
|
|
|
|
|
|