Spaces:
Sleeping
Sleeping
Fix: Correct app_file path and SDK configuration for HF Spaces
Browse files- Fixed app_file path from 'src/app.py' to 'app.py' (root directory)
- Changed SDK from 'docker' to 'gradio' for proper Gradio app deployment
- This should resolve the 'missing app file' error on HF Spaces
- .space/space.yaml +2 -2
.space/space.yaml
CHANGED
|
@@ -2,14 +2,14 @@ title: VedaMD - Medical Assistant
|
|
| 2 |
emoji: 🏥
|
| 3 |
colorFrom: blue
|
| 4 |
colorTo: green
|
| 5 |
-
sdk:
|
| 6 |
pinned: false
|
| 7 |
fullWidth: true
|
| 8 |
build:
|
| 9 |
clearCache: true
|
| 10 |
forceRebuild: true
|
| 11 |
python_version: 3.10
|
| 12 |
-
app_file:
|
| 13 |
models:
|
| 14 |
- sentence-transformers/all-MiniLM-L6-v2
|
| 15 |
- cross-encoder/ms-marco-MiniLM-L-6-v2
|
|
|
|
| 2 |
emoji: 🏥
|
| 3 |
colorFrom: blue
|
| 4 |
colorTo: green
|
| 5 |
+
sdk: gradio
|
| 6 |
pinned: false
|
| 7 |
fullWidth: true
|
| 8 |
build:
|
| 9 |
clearCache: true
|
| 10 |
forceRebuild: true
|
| 11 |
python_version: 3.10
|
| 12 |
+
app_file: app.py
|
| 13 |
models:
|
| 14 |
- sentence-transformers/all-MiniLM-L6-v2
|
| 15 |
- cross-encoder/ms-marco-MiniLM-L-6-v2
|