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=lambda
|
119 |
-
down.click(fn=lambda
|
120 |
-
left.click(fn=lambda
|
121 |
-
right.click(fn=lambda
|
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=lambda genie: handle_input("up", genie), inputs=[genie], outputs=image_display, show_progress='hidden')
|
119 |
+
down.click(fn=lambda genie: handle_input("down", genie), inputs=[genie], outputs=image_display, show_progress='hidden')
|
120 |
+
left.click(fn=lambda genie: handle_input("left", genie), inputs=[genie], outputs=image_display, show_progress='hidden')
|
121 |
+
right.click(fn=lambda genie: handle_input("right", genie), inputs=[genie], outputs=image_display, show_progress='hidden')
|
122 |
|
123 |
demo.launch(share=True)
|