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