muddasser commited on
Commit
5fd7d39
·
verified ·
1 Parent(s): 050852c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -12
README.md CHANGED
@@ -4,6 +4,8 @@ emoji: 📞
4
  colorFrom: green
5
  colorTo: yellow
6
  sdk: gradio
 
 
7
  pinned: false
8
  license: mit
9
  ---
@@ -57,18 +59,17 @@ Set these in **HF Spaces → Settings → Repository secrets**:
57
 
58
  ---
59
 
60
- ## Deployment — HF Spaces (Docker SDK)
61
 
62
- 1. Create a new Space → **Docker** SDK
63
- 2. Push all files:
64
  ```
65
  app.py
66
  requirements.txt
67
- Dockerfile
68
  README.md
69
  ```
70
- 3. Add secrets (`GROQ_API_KEY`, `DEEPGRAM_API_KEY`)
71
- 4. Space auto-builds and launches on port **7860**
72
 
73
  ---
74
 
@@ -133,14 +134,13 @@ python app.py
133
  ## File Structure
134
 
135
  ```
136
- ├── app.py # Main Gradio app
137
  ├── requirements.txt
138
- ├── Dockerfile
139
- ├── README.md
140
- ├── faiss.index # Auto-generated after KB build
141
- ├── chunks.npy # Auto-generated after KB build
142
  ├── saudi_orders_database.db # Upload via Admin Panel
143
- └── agent_photo.jpg # Optional — replaces emoji avatar
144
  ```
145
 
146
  ---
 
4
  colorFrom: green
5
  colorTo: yellow
6
  sdk: gradio
7
+ sdk_version: 4.44.0
8
+ app_file: app.py
9
  pinned: false
10
  license: mit
11
  ---
 
59
 
60
  ---
61
 
62
+ ## Deployment — HF Spaces (Gradio SDK)
63
 
64
+ 1. Create a new Space → **Gradio** SDK
65
+ 2. Push these files — no Dockerfile needed:
66
  ```
67
  app.py
68
  requirements.txt
 
69
  README.md
70
  ```
71
+ 3. Add secrets under **Settings → Repository secrets**: `GROQ_API_KEY`, `DEEPGRAM_API_KEY`
72
+ 4. HF installs `requirements.txt` automatically and runs `app.py`
73
 
74
  ---
75
 
 
134
  ## File Structure
135
 
136
  ```
137
+ ├── app.py # Main Gradio app
138
  ├── requirements.txt
139
+ ├── README.md # HF Spaces config frontmatter lives here
140
+ ├── faiss.index # Auto-generated after KB build
141
+ ├── chunks.npy # Auto-generated after KB build
 
142
  ├── saudi_orders_database.db # Upload via Admin Panel
143
+ └── agent_photo.jpg # Optional — replaces emoji avatar
144
  ```
145
 
146
  ---