Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="purple")) as demo:
|
|
78 |
label="π¨ Choose a Ghibli Style"
|
79 |
)
|
80 |
# image_input = gr.Image(sources=["webcam"], type="pil", label="πΈ Take or Upload Image")
|
81 |
-
image_input = gr.Image(sources=["upload"], type="pil", label="πΈ Take or Upload Image")
|
82 |
email_input = gr.Textbox(label="π§ Enter your email to receive your portrait")
|
83 |
send_button = gr.Button("π Generate")
|
84 |
with gr.Column():
|
|
|
78 |
label="π¨ Choose a Ghibli Style"
|
79 |
)
|
80 |
# image_input = gr.Image(sources=["webcam"], type="pil", label="πΈ Take or Upload Image")
|
81 |
+
image_input = gr.Image(sources=["webcam","upload"], type="pil", label="πΈ Take or Upload Image")
|
82 |
email_input = gr.Textbox(label="π§ Enter your email to receive your portrait")
|
83 |
send_button = gr.Button("π Generate")
|
84 |
with gr.Column():
|