simonraj commited on
Commit
402438d
·
1 Parent(s): ac3424f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -61,7 +61,9 @@ def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], hi
61
  "n" : 1,
62
  "stream": True,
63
  "presence_penalty":0,
64
- "frequency_penalty":0,}
 
 
65
 
66
  chat_counter+=1
67
 
 
61
  "n" : 1,
62
  "stream": True,
63
  "presence_penalty":0,
64
+ "frequency_penalty":0,
65
+ "max_tokens": 400 # Limiting the token count to 400
66
+ }
67
 
68
  chat_counter+=1
69