Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def load_model():
|
|
| 22 |
global emotion_model
|
| 23 |
model_path = hf_hub_download(
|
| 24 |
repo_id="PatriciaWening/moodDetection",
|
| 25 |
-
filename="
|
| 26 |
cache_dir="/tmp"
|
| 27 |
)
|
| 28 |
# ini akan assign objek keras.Model
|
|
|
|
| 22 |
global emotion_model
|
| 23 |
model_path = hf_hub_download(
|
| 24 |
repo_id="PatriciaWening/moodDetection",
|
| 25 |
+
filename="moodDetection.keras", # pastikan sesuai
|
| 26 |
cache_dir="/tmp"
|
| 27 |
)
|
| 28 |
# ini akan assign objek keras.Model
|