Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ with block:
|
|
68 |
''')
|
69 |
with gr.Row():
|
70 |
with gr.Column():
|
71 |
-
input_image = gr.Image(sources=None, type="
|
72 |
prompt = gr.Textbox(label="Prompt")
|
73 |
run_button = gr.Button(value="Run")
|
74 |
|
|
|
68 |
''')
|
69 |
with gr.Row():
|
70 |
with gr.Column():
|
71 |
+
input_image = gr.Image(sources=None, type="pil") # None for upload, ctrl+v and webcam
|
72 |
prompt = gr.Textbox(label="Prompt")
|
73 |
run_button = gr.Button(value="Run")
|
74 |
|