Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -115,9 +115,9 @@ if __name__ == '__main__':
|
|
115 |
fn=handle_image_selection, inputs=[image_selector, genie], outputs=image_display, show_progress='hidden'
|
116 |
)
|
117 |
|
118 |
-
up.click(fn=
|
119 |
-
down.click(fn=
|
120 |
-
left.click(fn=
|
121 |
-
right.click(fn=
|
122 |
|
123 |
demo.launch(share=True)
|
|
|
115 |
fn=handle_image_selection, inputs=[image_selector, genie], outputs=image_display, show_progress='hidden'
|
116 |
)
|
117 |
|
118 |
+
up.click(fn=handle_input, inputs=["up", genie], outputs=image_display, show_progress='hidden')
|
119 |
+
down.click(fn=handle_input, inputs=["down", genie], outputs=image_display, show_progress='hidden')
|
120 |
+
left.click(fn=handle_input, inputs=["left", genie], outputs=image_display, show_progress='hidden')
|
121 |
+
right.click(fn=handle_input, inputs=["right", genie], outputs=image_display, show_progress='hidden')
|
122 |
|
123 |
demo.launch(share=True)
|