Spaces:
Runtime error
Runtime error
Srinivasulu kethanaboina
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ with gr.Blocks(css=css) as demo:
|
|
175 |
chat = gr.ChatInterface(chat_interface, clear_btn=None, undo_btn=None, retry_btn=None)
|
176 |
|
177 |
# Button to retrieve history and redirect
|
178 |
-
redirect_button = gr.Button("
|
179 |
|
180 |
# Connect the button with the function, and handle the redirection
|
181 |
redirect_button.click(fn=retrieve_history_and_redirect, inputs=[gr.State()])
|
|
|
175 |
chat = gr.ChatInterface(chat_interface, clear_btn=None, undo_btn=None, retry_btn=None)
|
176 |
|
177 |
# Button to retrieve history and redirect
|
178 |
+
redirect_button = gr.Button("Close Chat")
|
179 |
|
180 |
# Connect the button with the function, and handle the redirection
|
181 |
redirect_button.click(fn=retrieve_history_and_redirect, inputs=[gr.State()])
|