Spaces:
Sleeping
Sleeping
Gainward777
commited on
Update ui/gradio_ui.py
Browse files- ui/gradio_ui.py +1 -1
ui/gradio_ui.py
CHANGED
@@ -45,7 +45,7 @@ def ui(controller):#get_first_result,get_second_result): #controller):
|
|
45 |
sketch.input(get_img_from_sketchpad, outputs=SER_SKETCH, inputs=sketch, show_progress="hidden")
|
46 |
|
47 |
improve_sketch.click(fn=controller.get_first_result,
|
48 |
-
inputs=[SER_SKETCH
|
49 |
outputs=improved_sketch_view)
|
50 |
|
51 |
result_button.click(fn=controller.get_second_result,
|
|
|
45 |
sketch.input(get_img_from_sketchpad, outputs=SER_SKETCH, inputs=sketch, show_progress="hidden")
|
46 |
|
47 |
improve_sketch.click(fn=controller.get_first_result,
|
48 |
+
inputs=[SER_SKETCH, first_prompt, first_negative_prompt], #[sketch, first_prompt, first_negative_prompt],
|
49 |
outputs=improved_sketch_view)
|
50 |
|
51 |
result_button.click(fn=controller.get_second_result,
|