jitubutwal1441 commited on
Commit
9b5697b
Β·
verified Β·
1 Parent(s): b7f6aa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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():