Spaces:
Building
Building
bluestpanda
commited on
Commit
·
193edf0
1
Parent(s):
7ac30cf
Add troubleshooting checklist
Browse files- CHECK_THIS.md +41 -0
CHECK_THIS.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Space Configuration Checklist
|
| 2 |
+
|
| 3 |
+
## In Hugging Face Space Settings:
|
| 4 |
+
|
| 5 |
+
### 1. SDK Type
|
| 6 |
+
- Go to Settings → General Settings
|
| 7 |
+
- **SDK should be: `streamlit`** (NOT docker)
|
| 8 |
+
- If it says "docker", change it to "streamlit" and save
|
| 9 |
+
|
| 10 |
+
### 2. Main App File
|
| 11 |
+
- Settings → General Settings
|
| 12 |
+
- **App file should be: `app.py`**
|
| 13 |
+
- (Leave blank for default, or set to `app.py`)
|
| 14 |
+
|
| 15 |
+
### 3. Hardware
|
| 16 |
+
- Settings → General Settings
|
| 17 |
+
- **Hardware**: CPU Basic (or upgrade if you have credits)
|
| 18 |
+
|
| 19 |
+
### 4. Check Logs
|
| 20 |
+
- Click on **"Logs"** tab (not the icon, the actual tab)
|
| 21 |
+
- Look for any error messages
|
| 22 |
+
- Screenshot and share any errors
|
| 23 |
+
|
| 24 |
+
## Quick Fix to Try:
|
| 25 |
+
|
| 26 |
+
1. Go to your Space: https://huggingface.co/spaces/Khamad/json-field-analyzer
|
| 27 |
+
2. Click **Settings**
|
| 28 |
+
3. Under **General Settings**:
|
| 29 |
+
- Make sure **SDK** = `streamlit`
|
| 30 |
+
- **App file** = `app.py` (or leave blank)
|
| 31 |
+
4. Click **Save**
|
| 32 |
+
5. Go back to your Space
|
| 33 |
+
6. Click the **Refresh** button (circular arrow icon)
|
| 34 |
+
|
| 35 |
+
## If Still Not Working:
|
| 36 |
+
|
| 37 |
+
Share a screenshot of:
|
| 38 |
+
- The Settings page
|
| 39 |
+
- The Logs tab
|
| 40 |
+
- The error message you see
|
| 41 |
+
|