Update app.py
Browse files
app.py
CHANGED
@@ -76,6 +76,11 @@ with demo:
|
|
76 |
break
|
77 |
response += char
|
78 |
yield response
|
|
|
|
|
|
|
|
|
|
|
79 |
|
80 |
with gr.Blocks():
|
81 |
with gr.Row():
|
|
|
76 |
break
|
77 |
response += char
|
78 |
yield response
|
79 |
+
|
80 |
+
def clear_chat(interface):
|
81 |
+
# Function to clear the chat history.
|
82 |
+
# This simply returns a command to clear the chat.
|
83 |
+
return "clear",
|
84 |
|
85 |
with gr.Blocks():
|
86 |
with gr.Row():
|