jozzy commited on
Commit
dce545a
·
1 Parent(s): c94db43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -69,8 +69,9 @@ with gr.Blocks() as chatHistory:
69
  clear_btn.click(fn=clear, inputs=None, outputs=None, queue=False)
70
 
71
  gr.Markdown("Click the Display button below to show all the chat history.")
 
72
  show_btn = gr.Button("Display")
73
- show_btn.click(fn=show, inputs=None, outputs="text", queue=False)
74
 
75
 
76
 
 
69
  clear_btn.click(fn=clear, inputs=None, outputs=None, queue=False)
70
 
71
  gr.Markdown("Click the Display button below to show all the chat history.")
72
+ show_out = gr.Textbox()
73
  show_btn = gr.Button("Display")
74
+ show_btn.click(fn=show, inputs=None, outputs=show_out, queue=False)
75
 
76
 
77