eduardo-alvarez commited on
Commit
85f935c
1 Parent(s): 6af4a5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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():