rishabh5752 commited on
Commit
10c6efc
1 Parent(s): 318a4a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ def predict(name, age, image):
26
  return f"Patient: {name}, Age: {age}, Prediction: {label}"
27
 
28
  # Define input and output components
29
- name_input = gr.inputs.Text(label="Patient's Name")
30
- age_input = gr.inputs.Text(label="Patient's Age")
31
  image_input = gr.inputs.Image(shape=(150, 150))
32
  label_output = gr.outputs.Label()
33
 
 
26
  return f"Patient: {name}, Age: {age}, Prediction: {label}"
27
 
28
  # Define input and output components
29
+ name_input = gr.inputs.Textbox(label="Patient's Name")
30
+ age_input = gr.inputs.Textbox(label="Patient's Age")
31
  image_input = gr.inputs.Image(shape=(150, 150))
32
  label_output = gr.outputs.Label()
33