ethnhe commited on
Commit ·
bcd6e79
1
Parent(s): fda7aef
Disable broken Gradio SSR proxy
Browse files
app.py
CHANGED
|
@@ -585,7 +585,9 @@ def demo_lam(cfg):
|
|
| 585 |
)
|
| 586 |
|
| 587 |
demo.queue()
|
| 588 |
-
|
|
|
|
|
|
|
| 589 |
|
| 590 |
|
| 591 |
def _build_model(cfg):
|
|
|
|
| 585 |
)
|
| 586 |
|
| 587 |
demo.queue()
|
| 588 |
+
# Gradio's experimental SSR proxy can turn local example files into
|
| 589 |
+
# remote URLs that are rejected by its SSRF protection on Spaces.
|
| 590 |
+
demo.launch(ssr_mode=False)
|
| 591 |
|
| 592 |
|
| 593 |
def _build_model(cfg):
|