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

Update MeAI_Maincode/BrainTumor.py

Browse files
Files changed (1) hide show
  1. MeAI_Maincode/BrainTumor.py +1 -1
MeAI_Maincode/BrainTumor.py CHANGED
@@ -33,7 +33,7 @@ def create_brain_tumor_detect() :
33
 
34
  inp = gr.Image(label = "Xin Nhập Ảnh Vào", type = 'pil', height=512, width=512,
35
  value=os.path.join(os.path.dirname(__file__), "../anh/braintt.jpg"),interactive=True)
36
- out = gr.Image(label = "Kết Quả", type = 'pil')
37
  btn = gr.Button("Xử Lý")
38
  btn.click(fn=Processing, inputs= inp, outputs=out)
39
  return Brain_Tumor_Detect
 
33
 
34
  inp = gr.Image(label = "Xin Nhập Ảnh Vào", type = 'pil', height=512, width=512,
35
  value=os.path.join(os.path.dirname(__file__), "../anh/braintt.jpg"),interactive=True)
36
+ out = gr.Image(label = "Kết Quả", type = 'pil', height=512, width=512)
37
  btn = gr.Button("Xử Lý")
38
  btn.click(fn=Processing, inputs= inp, outputs=out)
39
  return Brain_Tumor_Detect