chuckfinca Claude Opus 4.6 (1M context) commited on
Commit
93ce607
·
1 Parent(s): b32f935

Allow static directory for Gradio file serving

Browse files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -576,4 +576,4 @@ if __name__ == "__main__":
576
  print("WARNING: LH_ACCESS_TOKEN not set — app is unprotected")
577
 
578
  app = build_app()
579
- app.launch(server_name="0.0.0.0", server_port=7860)
 
576
  print("WARNING: LH_ACCESS_TOKEN not set — app is unprotected")
577
 
578
  app = build_app()
579
+ app.launch(server_name="0.0.0.0", server_port=7860, allowed_paths=["static"])