aigorithm commited on
Commit
39b0e40
·
verified ·
1 Parent(s): e418929

Upload 2 files

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ import random
8
  import json
9
  from datetime import datetime
10
 
11
- # ✅ Public-access model for Hugging Face
12
- chat_gen = pipeline("text-generation", model="tiiuae/falcon-7b-instruct")
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",