lanna_lalala;- commited on
Commit
ceee3d9
·
1 Parent(s): c6aa7a5

update chat

Browse files
Files changed (1) hide show
  1. phase/Student_view/chatbot.py +1 -1
phase/Student_view/chatbot.py CHANGED
@@ -14,7 +14,7 @@ GEN_MODEL = os.getenv("GEN_MODEL", "google/flan-t5-base") # ✅ CPU-friendly se
14
  if not HF_TOKEN:
15
  st.error("⚠️ HF_TOKEN is not set. In your Space, add a Secret named HF_TOKEN.")
16
  else:
17
- client = InferenceClient(model=GEN_MODEL, token=HF_TOKEN, provider="hf-inference")
18
 
19
 
20
  # -------------------------------
 
14
  if not HF_TOKEN:
15
  st.error("⚠️ HF_TOKEN is not set. In your Space, add a Secret named HF_TOKEN.")
16
  else:
17
+ client = InferenceClient(model=GEN_MODEL, token=HF_TOKEN)
18
 
19
 
20
  # -------------------------------