dangtiendatdat commited on
Commit
56e3d5a
·
verified ·
1 Parent(s): 73559a6

Update MeAI_Maincode/Polyb.py

Browse files
Files changed (1) hide show
  1. MeAI_Maincode/Polyb.py +1 -1
MeAI_Maincode/Polyb.py CHANGED
@@ -94,7 +94,7 @@ def create_polyb():
94
  with gr.Blocks() as demo:
95
  gr.Markdown("Hãy tải ảnh lên và nhấn **Xử Lý** để khoanh vùng Polyp.")
96
  with gr.Row():
97
- inp = gr.Image(label= "Nhập Ảnh",type="pil",height=512, width=512,value="../anh/viemphoi.jpeg"),interactive=True)
98
  out = gr.Label(label="Kết Quả Dự Đoán", type = 'pil', height=512, width=512)
99
  btn = gr.Button("Xử Lý")
100
  btn.click(fn=main, inputs=inp, outputs=out)
 
94
  with gr.Blocks() as demo:
95
  gr.Markdown("Hãy tải ảnh lên và nhấn **Xử Lý** để khoanh vùng Polyp.")
96
  with gr.Row():
97
+ inp = gr.Image(label= "Nhập Ảnh",type="pil",height=512, width=512,value="../anh/viemphoi.jpeg",interactive=True)
98
  out = gr.Label(label="Kết Quả Dự Đoán", type = 'pil', height=512, width=512)
99
  btn = gr.Button("Xử Lý")
100
  btn.click(fn=main, inputs=inp, outputs=out)