Guiyom commited on
Commit
c3194b6
·
1 Parent(s): ec025ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ with gr.Blocks() as demo:
12
  with gr.Row():
13
  gr.Markdown("Author: Taeko Huet-Sakai")
14
  with gr.Row():
15
- gr.Markdown("This application generates a focus group to answer your questions.\nFirst list your topic and questions, generate the focus group profile, get their answers and finally access the summary report")
16
  with gr.Row():
17
  gr.Markdown("DISCLAIMER: The content generated will be depending on the input you integrated in the respective fields and the behavior of the large language model (GPT4) used for the text generation.")
18
  with gr.Row(visible = True) as apicheck:
@@ -424,7 +424,7 @@ Now please provide your results.
424
  for attempt in range(10):
425
  try:
426
  response = openai.ChatCompletion.create(
427
- model='gpt-3.5-turbo-16k',
428
  messages=formmatedprompt
429
  )
430
  result = response['choices'][0]['message']['content']
 
12
  with gr.Row():
13
  gr.Markdown("Author: Taeko Huet-Sakai")
14
  with gr.Row():
15
+ gr.Markdown("This application generates a focus group to answer your questions.\nFirst, list your topic and questions, then generate the focus group profile, finally get their answers and access the summary report")
16
  with gr.Row():
17
  gr.Markdown("DISCLAIMER: The content generated will be depending on the input you integrated in the respective fields and the behavior of the large language model (GPT4) used for the text generation.")
18
  with gr.Row(visible = True) as apicheck:
 
424
  for attempt in range(10):
425
  try:
426
  response = openai.ChatCompletion.create(
427
+ model='gpt-4',
428
  messages=formmatedprompt
429
  )
430
  result = response['choices'][0]['message']['content']