dvir-bria commited on
Commit
cf99e6e
1 Parent(s): 7a86161

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ with block:
55
  ''')
56
  with gr.Row():
57
  with gr.Column():
58
- input_image = gr.Image(source='upload', type="numpy")
59
  prompt = gr.Textbox(label="Prompt")
60
  run_button = gr.Button(label="Run")
61
 
 
55
  ''')
56
  with gr.Row():
57
  with gr.Column():
58
+ input_image = gr.Image(sources=None, type="numpy") # None for upload, ctrl+v and webcam
59
  prompt = gr.Textbox(label="Prompt")
60
  run_button = gr.Button(label="Run")
61