Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|