BolyosCsaba commited on
Commit ·
573b7f6
1
Parent(s): 469018d
fix: add allowed_paths=[sandbox_cache] to demo.launch()
Browse filesGradio blocks /gradio_api/file= access to paths not in allowed_paths.
The dynamically-generated studio_*.html files live in sandbox_cache/.
app.py
CHANGED
|
@@ -309,4 +309,4 @@ with gr.Blocks(title="🎮 Immersive Vibe Development Studio") as demo:
|
|
| 309 |
|
| 310 |
|
| 311 |
if __name__ == "__main__":
|
| 312 |
-
demo.launch(css=CSS, ssr_mode=False)
|
|
|
|
| 309 |
|
| 310 |
|
| 311 |
if __name__ == "__main__":
|
| 312 |
+
demo.launch(css=CSS, ssr_mode=False, allowed_paths=["sandbox_cache"])
|