Spaces:
Running
on
Zero
Running
on
Zero
solve bug in launch
Browse files
app.py
CHANGED
@@ -311,10 +311,8 @@ if __name__ == "__main__":
|
|
311 |
print("π Creating Gradio interface...")
|
312 |
demo = create_demo()
|
313 |
demo.launch(
|
314 |
-
|
315 |
-
|
316 |
-
show_tips=True,
|
317 |
-
enable_queue=True
|
318 |
)
|
319 |
else:
|
320 |
print("β Failed to load model. Please check your HF_KEY and model access permissions.")
|
|
|
311 |
print("π Creating Gradio interface...")
|
312 |
demo = create_demo()
|
313 |
demo.launch(
|
314 |
+
ssr_mode=False,
|
315 |
+
mcp_server=True
|
|
|
|
|
316 |
)
|
317 |
else:
|
318 |
print("β Failed to load model. Please check your HF_KEY and model access permissions.")
|