Update app.py
Browse files
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; }
|