Spaces:
Sleeping
Sleeping
Upload 2 files
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ import random
|
|
8 |
import json
|
9 |
from datetime import datetime
|
10 |
|
11 |
-
# ✅
|
12 |
-
chat_gen = pipeline("text-generation", model="tiiuae/falcon-
|
13 |
|
14 |
voice_options = {
|
15 |
"Rachel": "EXAVITQu4vr4xnSDxMaL",
|
|
|
8 |
import json
|
9 |
from datetime import datetime
|
10 |
|
11 |
+
# ✅ Lightweight model that works on Hugging Face CPU
|
12 |
+
chat_gen = pipeline("text-generation", model="tiiuae/falcon-rw-1b")
|
13 |
|
14 |
voice_options = {
|
15 |
"Rachel": "EXAVITQu4vr4xnSDxMaL",
|