Spaces:
Runtime error
Runtime error
Update consult_func.py
Browse files- consult_func.py +1 -1
consult_func.py
CHANGED
@@ -168,7 +168,7 @@ def advice(
|
|
168 |
# symptoms = "存在" + advice1(radio1, radio2, radio3) + "问题,不存在饮食问题且"
|
169 |
# if advice1(radio1, radio2, radio3) == "不存在" and advice2(radio4) != "不存在":
|
170 |
# symptoms = "不存在睡眠问题,存在" + advice2(radio4) + "问题且"
|
171 |
-
final_score=result1+result2+result3
|
172 |
|
173 |
SLEEP = advice1(radio1, radio2, radio3)
|
174 |
EAT = advice2(radio4)
|
|
|
168 |
# symptoms = "存在" + advice1(radio1, radio2, radio3) + "问题,不存在饮食问题且"
|
169 |
# if advice1(radio1, radio2, radio3) == "不存在" and advice2(radio4) != "不存在":
|
170 |
# symptoms = "不存在睡眠问题,存在" + advice2(radio4) + "问题且"
|
171 |
+
final_score=(((result1+result2+result3)/3)+1)*50
|
172 |
|
173 |
SLEEP = advice1(radio1, radio2, radio3)
|
174 |
EAT = advice2(radio4)
|