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("结论页面")