Update app.py
Browse files
app.py
CHANGED
@@ -236,7 +236,7 @@ chat_bot=gr.ChatInterface(
|
|
236 |
|
237 |
reset_interface = gr.Interface(
|
238 |
fn=lambda x: x, # Placeholder function, actual reset is handled by button actions
|
239 |
-
inputs=[gr.
|
240 |
outputs="text",
|
241 |
title="Reset Controls",
|
242 |
description="Use the buttons below to reset chat, user information, or both."
|
|
|
236 |
|
237 |
reset_interface = gr.Interface(
|
238 |
fn=lambda x: x, # Placeholder function, actual reset is handled by button actions
|
239 |
+
inputs=[gr.Button(choices=["Reset Chat", "Reset User Info", "Reset All"], label="Select what to reset")],
|
240 |
outputs="text",
|
241 |
title="Reset Controls",
|
242 |
description="Use the buttons below to reset chat, user information, or both."
|