Spaces:
Sleeping
Sleeping
Riley Claude commited on
Commit ·
fc9de37
1
Parent(s): dec3c94
fix: Restore working Hugging Face deployment structure
Browse filesKey changes to match the working pre-merge version:
1. Created symlink: analyzer -> src/analyzer
- HF was working when code was accessible at analyzer/ path
- Symlink allows import from "analyzer.chat.demo_app"
2. Updated app.py to import from analyzer not src.analyzer
- Matches the working version from commit 9b8e766
- Simple structure that HF Spaces expects
This restores the exact structure that was working before all
the merge/force-push issues started.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
analyzer
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
src/analyzer
|
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from pathlib import Path
|
|
| 12 |
sys.path.insert(0, str(Path(__file__).parent))
|
| 13 |
|
| 14 |
# Import and run the main demo app
|
| 15 |
-
from
|
| 16 |
|
| 17 |
if __name__ == "__main__":
|
| 18 |
# Run without share parameter (Hugging Face handles this)
|
|
|
|
| 12 |
sys.path.insert(0, str(Path(__file__).parent))
|
| 13 |
|
| 14 |
# Import and run the main demo app
|
| 15 |
+
from analyzer.chat.demo_app import main
|
| 16 |
|
| 17 |
if __name__ == "__main__":
|
| 18 |
# Run without share parameter (Hugging Face handles this)
|