Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -226,7 +226,9 @@ with gr.Blocks(css=css) as demo:
|
|
226 |
gr.Markdown(help_text)
|
227 |
|
228 |
instruction.change(fn=response, inputs=[instruction,input_image], outputs=type, queue=False)
|
229 |
-
|
|
|
|
|
230 |
gr.on(triggers=[
|
231 |
generate_button.click,
|
232 |
instruction.submit
|
|
|
226 |
gr.Markdown(help_text)
|
227 |
|
228 |
instruction.change(fn=response, inputs=[instruction,input_image], outputs=type, queue=False)
|
229 |
+
|
230 |
+
input_image.upload(fn=response, inputs=[instruction,input_image], outputs=type, queue=False)
|
231 |
+
|
232 |
gr.on(triggers=[
|
233 |
generate_button.click,
|
234 |
instruction.submit
|