sniro23 commited on
Commit
54d28ac
·
1 Parent(s): 01f0120

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

Files changed (1) hide show
  1. .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: docker
6
  pinned: false
7
  fullWidth: true
8
  build:
9
  clearCache: true
10
  forceRebuild: true
11
  python_version: 3.10
12
- app_file: src/app.py
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