deadshot2003 commited on
Commit
4b11a9c
·
verified ·
1 Parent(s): f3ec220

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,9 +32,9 @@ def answer_question(transcript, question):
32
  model="mixtral-8x7b-32768",
33
  messages=[
34
  {"role": "system", "content": "You are a helpful assistant."},
35
- {"role": "user", "content": f"Using the following transcript as context and then go through the question and then please solve or answer the question coorectly:\n\nTranscript:\n{transcript}\n\nQuestion:\n{question}"}
36
  ],
37
- max_tokens=1500
38
  )
39
 
40
  if response.choices and response.choices[0].message:
 
32
  model="mixtral-8x7b-32768",
33
  messages=[
34
  {"role": "system", "content": "You are a helpful assistant."},
35
+ {"role": "user", "content": f"Using the following transcript as context and then go through the question and then please solve or answer the question correctly in 300 words:\n\nTranscript:\n{transcript}\n\nQuestion:\n{question}"}
36
  ],
37
+ max_tokens=500
38
  )
39
 
40
  if response.choices and response.choices[0].message: