Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filesmax_tokens=4096
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=
|
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
|