Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
remove-backround-gradio.py
CHANGED
|
@@ -249,6 +249,6 @@ with gr.Blocks(title="Background Removal Tool", theme=gr.themes.Default()) as ap
|
|
| 249 |
|
| 250 |
if __name__ == "__main__":
|
| 251 |
app.launch(
|
| 252 |
-
|
| 253 |
mcp_functions=[remove_background_single, remove_background_multiple] # Expose these functions
|
| 254 |
)
|
|
|
|
| 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 |
)
|