CosmoAI commited on
Commit
c0c96d3
·
1 Parent(s): 9690650

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -110,7 +110,7 @@ def responsenew(data):
110
  }
111
  }
112
 
113
- if re.search(r"(Add todo|Add to do)", data):
114
  respo = {
115
  'messages': "Todo added!",
116
  'action': "create_todo",
@@ -125,7 +125,7 @@ def responsenew(data):
125
  'sharedByMe': [],
126
  },
127
  }
128
- if "Note down" in data:
129
  respo = {
130
  'messages': "Got it!",
131
  'action': "create_note",
@@ -141,7 +141,7 @@ def responsenew(data):
141
  'sharedByMe': [],
142
  }
143
  }
144
- if "add coins" in data:
145
  respo = {
146
  "message": "Click the button below to view Premium Services and Coin Recharge options: ",
147
  "action": "payment",
 
110
  }
111
  }
112
 
113
+ elif re.search(r"(Add todo|Add to do)", data):
114
  respo = {
115
  'messages': "Todo added!",
116
  'action': "create_todo",
 
125
  'sharedByMe': [],
126
  },
127
  }
128
+ elif "Note down" in data:
129
  respo = {
130
  'messages': "Got it!",
131
  'action': "create_note",
 
141
  'sharedByMe': [],
142
  }
143
  }
144
+ elif "add coins" in data:
145
  respo = {
146
  "message": "Click the button below to view Premium Services and Coin Recharge options: ",
147
  "action": "payment",