Update app.py
Browse files
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.
|
26 |
-
gr.
|
27 |
-
gr.
|
28 |
],
|
29 |
-
outputs=gr.
|
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 |
)
|