Guiyom commited on
Commit
9b6ecc8
·
1 Parent(s): 1fd6e46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -201,7 +201,7 @@ Follow these rules:
201
  Now please provide your summary and recommendations for each of the questions using the following language: {language}
202
  """
203
  formattedprompt = [{'role':'system','content':system_message},{'role':'user','content':prompt}]
204
- result = answer(formattedprompt, "gpt-3.5-turbo-16k")
205
  result = f"""This is summary report on a focus group which title is: {title}
206
 
207
  --- Summary report ---
@@ -417,7 +417,7 @@ Now please provide your results using the following language: {language}.
417
  formattedprompt = [{'role':'system','content':system_message},{'role':'user','content':prompt}]
418
  list = []
419
  while len(list) <10:
420
- result = answer(formattedprompt, "gpt-3.5-turbo-16k")
421
  #break it down
422
  list = parse_participants(result)
423
  return list[0], list[1], list[2], list[3], list[4], list[5], list[6], list[7], list[8], list[9]
 
201
  Now please provide your summary and recommendations for each of the questions using the following language: {language}
202
  """
203
  formattedprompt = [{'role':'system','content':system_message},{'role':'user','content':prompt}]
204
+ result = answer(formattedprompt, "gpt-4")
205
  result = f"""This is summary report on a focus group which title is: {title}
206
 
207
  --- Summary report ---
 
417
  formattedprompt = [{'role':'system','content':system_message},{'role':'user','content':prompt}]
418
  list = []
419
  while len(list) <10:
420
+ result = answer(formattedprompt, "gpt-4")
421
  #break it down
422
  list = parse_participants(result)
423
  return list[0], list[1], list[2], list[3], list[4], list[5], list[6], list[7], list[8], list[9]