Spaces:
Sleeping
Sleeping
Commit ·
93ce607
1
Parent(s): b32f935
Allow static directory for Gradio file serving
Browse filesCo-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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"])
|