ybhavsar2009 commited on
Commit
85cf6bb
·
verified ·
1 Parent(s): f858a05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -344,7 +344,9 @@ with gr.Blocks(theme=gr.themes.Glass()) as demo:
344
  with gr.Group(visible=False) as add_new:
345
  gr.Markdown("<center><h2>Add New Wound</h2></center>")
346
  with gr.Row():
347
- image = gr.Image(label="Picture of wound", type="filepath")
 
 
348
  partOfBody = gr.Radio(["Head", "Arm", "Hand", "Back", "Stomach", "Leg", "Foot"], label="What part of the body is the wound on?")
349
  with gr.Row():
350
  confirm_add_new_btn = gr.Button(value="Confirm")
 
344
  with gr.Group(visible=False) as add_new:
345
  gr.Markdown("<center><h2>Add New Wound</h2></center>")
346
  with gr.Row():
347
+ with gr.Column():
348
+ image = gr.Image(label="Picture of wound", type="filepath")
349
+ examples = gr.Examples(examples=["3_photo.jpg"], outputs=image)
350
  partOfBody = gr.Radio(["Head", "Arm", "Hand", "Back", "Stomach", "Leg", "Foot"], label="What part of the body is the wound on?")
351
  with gr.Row():
352
  confirm_add_new_btn = gr.Button(value="Confirm")