Update app.py
Browse files
app.py
CHANGED
@@ -46,8 +46,7 @@ with gr.Blocks() as demo:
|
|
46 |
def summarize_and_recommend_process(tcs):
|
47 |
# sn, r = ps.summarize_and_recommend()
|
48 |
sn, r, cb = summarize_and_recommend(tcs)
|
49 |
-
|
50 |
-
return gr.update(visible=True, value=sn), gr.update(visible=True, value=r)
|
51 |
|
52 |
process_button = gr.Button("Generate Session Notes & Recommendations")
|
53 |
clear = gr.ClearButton(components=[user_input, chatbox, emotions, summary_notes, recommendations], value="Clear console")
|
|
|
46 |
def summarize_and_recommend_process(tcs):
|
47 |
# sn, r = ps.summarize_and_recommend()
|
48 |
sn, r, cb = summarize_and_recommend(tcs)
|
49 |
+
return gr.update(visible=True, value=sn), gr.update(visible=True, value=r), gr.update(visible=True, value=cb)
|
|
|
50 |
|
51 |
process_button = gr.Button("Generate Session Notes & Recommendations")
|
52 |
clear = gr.ClearButton(components=[user_input, chatbox, emotions, summary_notes, recommendations], value="Clear console")
|