Xhaheen commited on
Commit
ba4dadf
·
verified ·
1 Parent(s): ca0602e

Update app.py

Browse files

iam facing Openrouter api key issue , hence commenting paramete "max_tokens"
![image](https://cdn-uploads.huggingface.co/production/uploads/621c88aca7d6c7e0563256ae/T4E8LZE_tOefypi7CMZz5.png)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -188,7 +188,7 @@ def chat_with_model(user_input, model, history):
188
  response = client.chat.completions.create(
189
  model=model,
190
  messages=messages,
191
- max_tokens=1000,
192
  temperature=0.7
193
  )
194
 
 
188
  response = client.chat.completions.create(
189
  model=model,
190
  messages=messages,
191
+ # max_tokens=100,
192
  temperature=0.7
193
  )
194