Srinivasulu kethanaboina commited on
Commit
0384e23
·
verified ·
1 Parent(s): cb8f565

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("Retrieve History & Redirect")
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()])