Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,11 @@ def bardChat(data):
|
|
| 32 |
return answer
|
| 33 |
|
| 34 |
def responsenew(data):
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
with gr.Blocks() as demo:
|
| 38 |
chatbot = gr.Chatbot()
|
|
|
|
| 32 |
return answer
|
| 33 |
|
| 34 |
def responsenew(data):
|
| 35 |
+
remind_val = ["create a reminder", "create reminder", "remind me"]
|
| 36 |
+
if remind_val in data:
|
| 37 |
+
return "Reminder created!"
|
| 38 |
+
else:
|
| 39 |
+
return bardChat(data)
|
| 40 |
|
| 41 |
with gr.Blocks() as demo:
|
| 42 |
chatbot = gr.Chatbot()
|