File size: 412 Bytes
7950af4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import os

import gradio as gr

from consult import consult
from scale import scale

os.environ["no_proxy"] = "localhost,127.0.0.1,::1"

score1 = 0  # 量表得分,全局可修改

with gr.Blocks() as test_mode:
    # 量表得分

    with gr.Tab("量表"):
        scale.render()
    with gr.Tab("咨询"):
        consult.render()
    with gr.Tab("综合评估与建议"):
        gr.Markdown("结论页面")