Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
1321c2f
1
Parent(s):
525ca9d
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,12 @@ def settings_api():
|
|
82 |
|
83 |
|
84 |
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
86 |
|
87 |
|
88 |
|
|
|
82 |
|
83 |
|
84 |
|
85 |
+
@app.route('/pH_set')
|
86 |
+
def set_pH_value():
|
87 |
+
ph_value = request.args.get('value')
|
88 |
+
globs.ph_set = ph_value
|
89 |
+
globs.eep_set = 1
|
90 |
+
return "pH value set successfully"
|
91 |
|
92 |
|
93 |
|