Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,6 @@ with gr.Blocks(css=css, title="家庭医生AI助手") as iface:
|
|
119 |
"骨科", "肿瘤科", "急诊科", "检验科"])
|
120 |
with gr.Row():
|
121 |
output_box = gr.Markdown(value=result, every=10, label="分析", fn=fetch_result)
|
122 |
-
output_box.change(update)
|
123 |
with gr.Row():
|
124 |
image_input = gr.Image(type="filepath", label="上传图片") # Create an image upload button
|
125 |
text_input = gr.Textbox(label="输入") # Create a text input box
|
|
|
119 |
"骨科", "肿瘤科", "急诊科", "检验科"])
|
120 |
with gr.Row():
|
121 |
output_box = gr.Markdown(value=result, every=10, label="分析", fn=fetch_result)
|
|
|
122 |
with gr.Row():
|
123 |
image_input = gr.Image(type="filepath", label="上传图片") # Create an image upload button
|
124 |
text_input = gr.Textbox(label="输入") # Create a text input box
|