alapl063 commited on
Commit
27f7014
·
verified ·
1 Parent(s): d7916b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -84,6 +84,9 @@ def chat_with_bot(message, history, lang="en"):
84
 
85
  return history, ""
86
 
 
 
 
87
  # Gradio UI
88
  with gr.Blocks(css="""
89
  body { background-color: #A9B5DF; }
 
84
 
85
  return history, ""
86
 
87
+ def reset_chat():
88
+ return [("", translations["en"]["welcome"])], "
89
+
90
  # Gradio UI
91
  with gr.Blocks(css="""
92
  body { background-color: #A9B5DF; }