Spaces:
Running
on
Zero
Running
on
Zero
Update ui/gradio_ui.py
Browse files- ui/gradio_ui.py +1 -1
ui/gradio_ui.py
CHANGED
@@ -52,7 +52,7 @@ def ui(controller):#get_first_result,get_second_result): #controller):
|
|
52 |
inputs=[sketch, first_prompt, second_prompt],
|
53 |
label='Examples. Be concrete as much as possible.')
|
54 |
|
55 |
-
sketch.
|
56 |
|
57 |
|
58 |
improve_sketch.click(fn=controller.get_first_result,
|
|
|
52 |
inputs=[sketch, first_prompt, second_prompt],
|
53 |
label='Examples. Be concrete as much as possible.')
|
54 |
|
55 |
+
sketch.apply(fn=get_img_from_sketchpad, inputs=sketch, outputs=ser_image, show_progress="full")
|
56 |
|
57 |
|
58 |
improve_sketch.click(fn=controller.get_first_result,
|