BolyosCsaba commited on
Commit
573b7f6
·
1 Parent(s): 469018d

fix: add allowed_paths=[sandbox_cache] to demo.launch()

Browse files

Gradio blocks /gradio_api/file= access to paths not in allowed_paths.
The dynamically-generated studio_*.html files live in sandbox_cache/.

Files changed (1) hide show
  1. app.py +1 -1
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"])