Spaces:
Running
Running
Update MeAI_Maincode/BrainTumor.py
Browse files
MeAI_Maincode/BrainTumor.py
CHANGED
@@ -32,7 +32,7 @@ def create_brain_tumor_detect() :
|
|
32 |
|
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__), "../
|
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)
|
|
|
32 |
|
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)
|