Spaces:
Runtime error
Runtime error
artificialguybr
commited on
Commit
•
0ff8cd7
1
Parent(s):
7d9a177
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,8 @@ with gr.Blocks() as app:
|
|
106 |
|
107 |
gallery.select(update_selection, outputs=[prompt, selected_info, selected_state])
|
108 |
prompt.submit(fn=run_lora, inputs=[prompt, selected_state], outputs=[result, refined_result])
|
109 |
-
post_process_button.click(fn=apply_post_processing, inputs=[refined_result, downscale_slider, limit_colors,
|
|
|
110 |
|
111 |
app.queue(max_size=20, concurrency_count=5)
|
112 |
app.launch()
|
|
|
106 |
|
107 |
gallery.select(update_selection, outputs=[prompt, selected_info, selected_state])
|
108 |
prompt.submit(fn=run_lora, inputs=[prompt, selected_state], outputs=[result, refined_result])
|
109 |
+
post_process_button.click(fn=apply_post_processing, inputs=[refined_result, downscale_slider, limit_colors, enable_grayscale, black_and_white], outputs=[post_processed_result])
|
110 |
+
|
111 |
|
112 |
app.queue(max_size=20, concurrency_count=5)
|
113 |
app.launch()
|