Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
|
|
| 1 |
---
|
| 2 |
-
title: Emotion Detection (
|
| 3 |
-
emoji: 😄
|
| 4 |
-
colorFrom: blue
|
| 5 |
-
colorTo: purple
|
| 6 |
-
sdk: gradio
|
| 7 |
-
sdk_version: 5
|
| 8 |
-
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
# PyTorch Facial Emotion Detection (
|
| 13 |
-
|
| 14 |
-
This Space uses the **most stable PyTorch/Transformers dependency versions** and **memory-safe loading techniques** to maximize the chance of a successful build on a standard CPU tier.
|
| 15 |
-
|
| 16 |
-
If the app still shows a loading error after a **Factory Reboot**, it indicates a definitive **Out-of-Memory (OOM) error** and requires upgrading the Space's hardware tier (e.g., to a 16GB CPU or T4 GPU).
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
| 1 |
+
|
| 2 |
---
|
| 3 |
+
title: "Emotion Detection (ViT-Stable)"
|
| 4 |
+
emoji: "😄"
|
| 5 |
+
colorFrom: "blue"
|
| 6 |
+
colorTo: "purple"
|
| 7 |
+
sdk: "gradio"
|
| 8 |
+
sdk_version: "5"
|
| 9 |
+
app_file: "app.py"
|
| 10 |
pinned: false
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# PyTorch Facial Emotion Detection (ViT Stable)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
This version uses the **abhilash88/face-emotion-detection** ViT model, which is generally more stable and less resource-intensive to load than the previous checkpoint on standard CPU environments.
|
| 16 |
|
| 17 |
+
**Final Deployment Steps:**
|
| 18 |
+
1. **Replace** all four files with the contents above.
|
| 19 |
+
2. Go to the Space **Settings** tab.
|
| 20 |
+
3. Click **Factory reboot**.
|