mmargg commited on
Commit
ffbe399
·
verified ·
1 Parent(s): 092beca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -284,6 +284,12 @@ with gr.Blocks(
284
  fn=lambda: gr.update(visible=True),
285
  outputs=download_button
286
  )
 
 
 
 
 
 
287
 
288
  #launching chatbot
289
  demo.launch()
 
284
  fn=lambda: gr.update(visible=True),
285
  outputs=download_button
286
  )
287
+ save_button = gr.Button("💾 Save Chat History",
288
+ variant="primary",
289
+ size="sm")
290
+ download_button = gr.File(interactive=True,
291
+ visible=True,
292
+ elem_classes=["download-btn"])
293
 
294
  #launching chatbot
295
  demo.launch()