dangtiendatdat commited on
Commit
ed8a286
·
verified ·
1 Parent(s): 20641f0

Update MeAI_Maincode/Pneumonia.py

Browse files
Files changed (1) hide show
  1. MeAI_Maincode/Pneumonia.py +1 -1
MeAI_Maincode/Pneumonia.py CHANGED
@@ -28,7 +28,7 @@ def create_pneumonia_tab() :
28
  with gr.Row():
29
 
30
 
31
- inp = gr.Image(label= "Nhập Ảnh",type="pil",value=os.path.join(os.path.dirname(__file__), "../anh/viemphoi.jpeg"),interactive=True)
32
  out = gr.Label(label="Kết Quả Dự Đoán")
33
  btn = gr.Button("Xử Lý")
34
  btn.click(fn=update, inputs=inp, outputs=out)
 
28
  with gr.Row():
29
 
30
 
31
+ inp = gr.Image(label= "Nhập Ảnh",type="pil",height=512, width=512,value=os.path.join(os.path.dirname(__file__), "../anh/viemphoi.jpeg"),interactive=True)
32
  out = gr.Label(label="Kết Quả Dự Đoán")
33
  btn = gr.Button("Xử Lý")
34
  btn.click(fn=update, inputs=inp, outputs=out)