kronos25 commited on
Commit
30467d4
1 Parent(s): 3253b3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ For more information on `huggingface_hub` Inference API support, please check th
7
  client = InferenceClient("kronos25/Temporal_Chatbot")
8
 
9
  def predict(message, history):
10
- for message in client.chat_completion(history,max_tokens=max_tokens):
11
  token = message.choices[0].delta.content
12
  response += token
13
  yield response
 
7
  client = InferenceClient("kronos25/Temporal_Chatbot")
8
 
9
  def predict(message, history):
10
+ for message in client.chat_completion(history,max_tokens=512):
11
  token = message.choices[0].delta.content
12
  response += token
13
  yield response