Spaces:
Build error
Build error
respond_to_question_with_llama
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def respond_to_question_llama(transcript, question):
|
|
| 48 |
)
|
| 49 |
|
| 50 |
response = client.chat_completion(
|
| 51 |
-
messages=[{"role": "user", "content": f"Transcript: {transcript}\n\nUser: {question}}],
|
| 52 |
max_tokens=500,
|
| 53 |
).choices[0].content
|
| 54 |
|
|
|
|
| 48 |
)
|
| 49 |
|
| 50 |
response = client.chat_completion(
|
| 51 |
+
messages=[{"role": "user", "content": f"Transcript: {transcript}\n\nUser: {question}"}],
|
| 52 |
max_tokens=500,
|
| 53 |
).choices[0].content
|
| 54 |
|