import os
from test import test_mode
import gradio as gr
# from acknowledge import acknowledge
# from announce import announce
# from details import details
from get_user_data import get_user_data
from introduce import INTRODUCE
os.environ["no_proxy"] = "localhost,127.0.0.1,::1"
with gr.Blocks() as demo:
with gr.Column():
with gr.Row():
gr.HTML(
"
📈基于多模态融合的抑郁症检测系统📋
"
)
with gr.Row():
gr.HTML("[_SATLab小分队]
")
with gr.Row():
gr.HTML(INTRODUCE)
# with gr.Row():
# gr.HTML("
")
# gr.HTML("
")
# with gr.Row():
# gr.Markdown(
# """
# ## 下面的功能面板有五个功能,您可以自由选择。\n
# 1️⃣知情同意说明\t 2️⃣用法功能详细介绍\t 3️⃣开始自测\t 4️⃣查看个人历史数据\t 5️⃣引用与致谢\n
# """
# )
# with gr.Row():
# gr.HTML("
")
# gr.HTML("
")
# gr.HTML("
")
# with gr.Row():
# gr.Markdown("## 功能面板\n")
# with gr.Tab("🔈️知情同意说明"):
# announce.render()
# with gr.Tab("📜介绍"):
# details.render()
with gr.Tab("📋自我测试"):
test_mode.render()
with gr.Tab("🗃️个人中心"):
get_user_data.render()
# with gr.Tab("💐引用与致谢"):
# acknowledge.render()
demo.launch()