ariankhalfani commited on
Commit
47ea195
1 Parent(s): 64a8807

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -236,9 +236,9 @@ with app:
236
 
237
  with gr.Row():
238
  with gr.Column():
239
- name = gr.Textbox(label="Name", placeholder="Enter patient's name")
240
- patient_id = gr.Textbox(label="Patient ID", placeholder="Enter patient ID")
241
- input_image = gr.Image(source="upload", type="pil", label="Upload an Eye Image")
242
 
243
  with gr.Row():
244
  download_choice = gr.Radio(label="Download Choice", choices=["Database (.db)", "Last Predicted Image (.png)"], value="Database (.db)")
 
236
 
237
  with gr.Row():
238
  with gr.Column():
239
+ name = gr.Textbox(label="Name")
240
+ patient_id = gr.Textbox(label="Patient ID")
241
+ input_image = gr.Image(type="pil", label="Upload an Image", image_mode="RGB")
242
 
243
  with gr.Row():
244
  download_choice = gr.Radio(label="Download Choice", choices=["Database (.db)", "Last Predicted Image (.png)"], value="Database (.db)")