Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
26420ac
1
Parent(s):
e85045f
Update app.py
Browse files
app.py
CHANGED
@@ -228,8 +228,15 @@ def but_stop():
|
|
228 |
globs.eep_set = 11
|
229 |
return jsonify(value_set="stop")
|
230 |
|
231 |
-
|
232 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
|
234 |
|
235 |
|
|
|
228 |
globs.eep_set = 11
|
229 |
return jsonify(value_set="stop")
|
230 |
|
231 |
+
@app.route('/but_res', methods=['GET'])
|
232 |
+
def but_res():
|
233 |
+
globs.eep_set = 12
|
234 |
+
return jsonify(value_set="res")
|
235 |
+
|
236 |
+
@app.route('/but_sliv', methods=['GET'])
|
237 |
+
def but_sliv():
|
238 |
+
globs.eep_set = 13
|
239 |
+
return jsonify(value_set="sliv")
|
240 |
|
241 |
|
242 |
|