Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 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-
|
| 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']
|