emirhanai commited on
Commit
7513267
·
verified ·
1 Parent(s): 05fd08b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -22,11 +22,11 @@ surgery_options = ["Face Lift", "Nose Correction", "Chin Implant"]
22
  iface = gr.Interface(
23
  fn=generate_image,
24
  inputs=[
25
- gr.inputs.Image(type="file", label="Upload an Image"),
26
- gr.inputs.Dropdown(surgery_options, label="Select Surgery Option"),
27
- gr.inputs.Textbox(label="Additional Information")
28
  ],
29
- outputs=gr.outputs.Image(type="pil", label="Generated Image"),
30
  title="SurgiLook.ai",
31
  description="Visualize the results of a surgical procedure before it happens."
32
  )
 
22
  iface = gr.Interface(
23
  fn=generate_image,
24
  inputs=[
25
+ gr.Image(type="file", label="Upload an Image"),
26
+ gr.Dropdown(surgery_options, label="Select Surgery Option"),
27
+ gr.Textbox(label="Additional Information")
28
  ],
29
+ outputs=gr.Image(type="pil", label="Generated Image"),
30
  title="SurgiLook.ai",
31
  description="Visualize the results of a surgical procedure before it happens."
32
  )