Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ with gr.Blocks(css=css) as demo:
|
|
113 |
"""
|
114 |
)
|
115 |
|
116 |
-
image_init = gr.Image(label="Image Init",type="filepath",
|
117 |
#inference_steps = gr.Slider(label="Inference Steps", minimum=10, maximum=100, step=1, value=40, interactive=False)
|
118 |
submit_btn = gr.Button("Submit")
|
119 |
coca_cap = gr.Textbox(label="Caption", placeholder="CoCa Caption will be displayed here", elem_id="coca-cap-in")
|
|
|
113 |
"""
|
114 |
)
|
115 |
|
116 |
+
image_init = gr.Image(label="Image Init", type="filepath", sources=["upload"], elem_id="image-init")
|
117 |
#inference_steps = gr.Slider(label="Inference Steps", minimum=10, maximum=100, step=1, value=40, interactive=False)
|
118 |
submit_btn = gr.Button("Submit")
|
119 |
coca_cap = gr.Textbox(label="Caption", placeholder="CoCa Caption will be displayed here", elem_id="coca-cap-in")
|