Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
app.py — Hugging Face Spaces entry point (Gradio SDK).
|
| 3 |
|
| 4 |
Fixes:
|
| 5 |
-
-
|
| 6 |
- No gr.Blocks() wrapping needed — HF just needs app.py to bind port 7860
|
| 7 |
- FastAPI serves /demo, /ws, /analyze, /health directly
|
| 8 |
"""
|
|
|
|
| 2 |
app.py — Hugging Face Spaces entry point (Gradio SDK).
|
| 3 |
|
| 4 |
Fixes:
|
| 5 |
+
- strukctlog patched before main.py import (removes add_logger_name)
|
| 6 |
- No gr.Blocks() wrapping needed — HF just needs app.py to bind port 7860
|
| 7 |
- FastAPI serves /demo, /ws, /analyze, /health directly
|
| 8 |
"""
|