vilarin commited on
Commit
fbdf06c
·
verified ·
1 Parent(s): d98c79b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,7 +23,7 @@ SYS_PROMPT = read('system_prompt.txt')
23
 
24
  DESCRIPTION = '''
25
  <div>
26
- <h1 style="text-align: center;">诊疗助手</h1>
27
  <p>一个帮助您分析症状和检验报告的AI工具。</p>
28
  <p>🔎 选择您需要咨询的科室,在输入框中输入症状描述或者体检信息等;您也可以在图片框中上传检测报告图。</p>
29
  <p>🦕 请注意生成信息可能不准确,且不具备任何实际参考价值,如有需要请联系专业医生。</p>
@@ -92,7 +92,7 @@ def main(text_input="", image_input=None, unit=""):
92
  elif image_input is not None:
93
  return process_image(image_input,unit)
94
 
95
- with gr.Blocks(theme='shivi/calm_seafoam') as iface:
96
  with gr.Accordion(""):
97
  gr.Markdown(DESCRIPTION)
98
  unit = gr.Dropdown(label="🩺科室", value='中医科', elem_id="units",
 
23
 
24
  DESCRIPTION = '''
25
  <div>
26
+ <h1 style="text-align: center;">诊疗助手Alpha</h1>
27
  <p>一个帮助您分析症状和检验报告的AI工具。</p>
28
  <p>🔎 选择您需要咨询的科室,在输入框中输入症状描述或者体检信息等;您也可以在图片框中上传检测报告图。</p>
29
  <p>🦕 请注意生成信息可能不准确,且不具备任何实际参考价值,如有需要请联系专业医生。</p>
 
92
  elif image_input is not None:
93
  return process_image(image_input,unit)
94
 
95
+ with gr.Blocks(theme='shivi/calm_seafoam', css=css, title="诊疗助手Alpha") as iface:
96
  with gr.Accordion(""):
97
  gr.Markdown(DESCRIPTION)
98
  unit = gr.Dropdown(label="🩺科室", value='中医科', elem_id="units",