CosmoAI commited on
Commit
b04bdf0
·
1 Parent(s): 75cf840

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -32,11 +32,13 @@ def bardChat(data):
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()
 
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()