Spaces:
Runtime error
Runtime error
Update consult_func.py
Browse files- consult_func.py +2 -1
consult_func.py
CHANGED
@@ -66,10 +66,11 @@ def advice(
|
|
66 |
symptoms = "不存在睡眠问题,存在" + advice2(radio4) + "问题且"
|
67 |
|
68 |
final_score=result2+result3
|
|
|
69 |
|
70 |
return (
|
71 |
gr.Markdown(visible=True),
|
72 |
-
final_score,
|
73 |
gr.Textbox(
|
74 |
value="你"
|
75 |
+ symptoms
|
|
|
66 |
symptoms = "不存在睡眠问题,存在" + advice2(radio4) + "问题且"
|
67 |
|
68 |
final_score=result2+result3
|
69 |
+
print("最终得分:"final_score)
|
70 |
|
71 |
return (
|
72 |
gr.Markdown(visible=True),
|
73 |
+
gr.Textbox(final_score,visible=True)
|
74 |
gr.Textbox(
|
75 |
value="你"
|
76 |
+ symptoms
|