Spaces:
Running
Running
Update MeAI_Maincode/Pneumonia.py
Browse files
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)
|