File size: 577 Bytes
7950af4
 
 
 
 
 
afccf48
7950af4
 
 
 
 
 
 
 
 
 
290e0ab
afccf48
9f11949
 
efbbd5f
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os

import gradio as gr

from consult import consult
from scale import scale
from scale_n_consult import SCALE_AND_CONSULT

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

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

    with gr.Tab("量表"):
        scale.render()
    with gr.Tab("咨询"):
        consult.render()
    with gr.Tab("量表咨询🆕"):
        SCALE_AND_CONSULT.render()
    # with gr.Tab("咨询(新)"):
    #     gr.Markdown("开发中,敬请期待...")
    # with gr.Tab("综合评估与建议"):
    #     gr.Markdown("结论页面")