Spaces:
Running
Running
Update MeAI_Maincode/Detectskindisease.py
Browse files
MeAI_Maincode/Detectskindisease.py
CHANGED
@@ -137,7 +137,7 @@ def create_skin_tab(skinkey="2cff2aab49msh5191ef59693cc02p1091a7jsnd7100bb29621"
|
|
137 |
gr.Markdown("Hãy tải ảnh lên và nhấn **Xử Lý** để chẩn đoán bệnh ngoài da.")
|
138 |
with gr.Row():
|
139 |
inp = gr.Image(type="numpy",height=512, width=512,
|
140 |
-
value=os.path.join(os.path.dirname(__file__), "../
|
141 |
out = gr.Label(label="Kết Quả Dự Đoán",elem_classes="textboxskin")
|
142 |
btn = gr.Button("Xử Lý")
|
143 |
btn.click(fn=detect_skin_disease, inputs=[inp,keybox], outputs=out)
|
|
|
137 |
gr.Markdown("Hãy tải ảnh lên và nhấn **Xử Lý** để chẩn đoán bệnh ngoài da.")
|
138 |
with gr.Row():
|
139 |
inp = gr.Image(type="numpy",height=512, width=512,
|
140 |
+
value=os.path.join(os.path.dirname(__file__), "../anh/thuydau.jpg"))
|
141 |
out = gr.Label(label="Kết Quả Dự Đoán",elem_classes="textboxskin")
|
142 |
btn = gr.Button("Xử Lý")
|
143 |
btn.click(fn=detect_skin_disease, inputs=[inp,keybox], outputs=out)
|