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

update games

Browse files
Files changed (1) hide show
  1. phase/Student_view/chatbot.py +1 -1
phase/Student_view/chatbot.py CHANGED
@@ -65,7 +65,7 @@ def _reply_with_hf():
65
  prompt = f"{TUTOR_PROMPT}\n\n{convo}\n\nTutor:"
66
 
67
  try:
68
- response = client.text_generation(
69
  prompt,
70
  max_new_tokens=220,
71
  temperature=0.2
 
65
  prompt = f"{TUTOR_PROMPT}\n\n{convo}\n\nTutor:"
66
 
67
  try:
68
+ response = client.text2text_generation(
69
  prompt,
70
  max_new_tokens=220,
71
  temperature=0.2