BtB-ExpC commited on
Commit
37cf1a2
·
verified ·
1 Parent(s): d819a16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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
- return results
 
 
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")