trapezius60 commited on
Commit
ade8b65
·
verified ·
1 Parent(s): ba57b8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ if __name__ == "__main__":
70
  gr.Markdown("Upload a mushroom photo or use your camera to check if it’s edible or poisonous.\nอัปโหลดรูปเห็ดหรือใช้กล้องเพื่อตรวจสอบว่าเห็ดกินได้หรือมีพิษ")
71
 
72
  with gr.Row():
73
- image_input = gr.Image(type="pil", label="📷 Upload or Capture Mushroom Image", source="upload", tool="editor")
74
  with gr.Column():
75
  label_en = gr.Textbox(label="🧬 Prediction (English)")
76
  label_th = gr.Textbox(label="🔁 คำทำนาย (ภาษาไทย)")
 
70
  gr.Markdown("Upload a mushroom photo or use your camera to check if it’s edible or poisonous.\nอัปโหลดรูปเห็ดหรือใช้กล้องเพื่อตรวจสอบว่าเห็ดกินได้หรือมีพิษ")
71
 
72
  with gr.Row():
73
+ image_input = gr.Image(type="pil", label="📷 Upload or Capture Mushroom Image")
74
  with gr.Column():
75
  label_en = gr.Textbox(label="🧬 Prediction (English)")
76
  label_th = gr.Textbox(label="🔁 คำทำนาย (ภาษาไทย)")