Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,8 +54,10 @@ def process_course(input_text):
|
|
| 54 |
]
|
| 55 |
follow_up_result = api_call(follow_up_messages, 0.7, "gpt-4-turbo")
|
| 56 |
results.append((html_id + " - Follow-up", follow_up_result))
|
| 57 |
-
|
| 58 |
-
|
|
|
|
|
|
|
| 59 |
|
| 60 |
|
| 61 |
inputs = gr.Textbox(lines=7, label="Input Text")
|
|
|
|
| 54 |
]
|
| 55 |
follow_up_result = api_call(follow_up_messages, 0.7, "gpt-4-turbo")
|
| 56 |
results.append((html_id + " - Follow-up", follow_up_result))
|
| 57 |
+
# Formatting the results for legibility
|
| 58 |
+
results_string = '\n'.join(str(result) for result in results)
|
| 59 |
+
|
| 60 |
+
return results_string
|
| 61 |
|
| 62 |
|
| 63 |
inputs = gr.Textbox(lines=7, label="Input Text")
|