avfranco commited on
Commit
5aa403b
1 Parent(s): a84f44c

Update app.py

Browse files

max_tokens=4096

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def respond_to_question_llama(transcript, question):
27
 
28
  response = client.chat_completion(
29
  messages=[{"role": "user", "content": f"Transcript: {transcript}\n\nUser: {question}"}],
30
- max_tokens=150,
31
  ).choices[0].message.content
32
 
33
  return response
 
27
 
28
  response = client.chat_completion(
29
  messages=[{"role": "user", "content": f"Transcript: {transcript}\n\nUser: {question}"}],
30
+ max_tokens=4096,
31
  ).choices[0].message.content
32
 
33
  return response