Spaces:
Runtime error
Runtime error
File size: 1,661 Bytes
7950af4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
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(
"<h1 style='text-align:center;'>📈基于多模态融合的抑郁症检测系统📋</h1>"
)
with gr.Row():
gr.HTML("<h5 style='text-align:center;'>[_SATLab小分队]</h5>")
with gr.Row():
gr.HTML(INTRODUCE)
# with gr.Row():
# gr.HTML("<br>")
# gr.HTML("<br>")
# with gr.Row():
# gr.Markdown(
# """
# ## 下面的功能面板有五个功能,您可以自由选择。\n
# 1️⃣知情同意说明\t 2️⃣用法功能详细介绍\t 3️⃣开始自测\t 4️⃣查看个人历史数据\t 5️⃣引用与致谢\n
# """
# )
# with gr.Row():
# gr.HTML("<br>")
# gr.HTML("<br>")
# gr.HTML("<br>")
# 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()
|