artificialguybr commited on
Commit
6589d49
1 Parent(s): 5f9b2c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -104,10 +104,10 @@ with gr.Blocks() as app:
104
 
105
  post_process_button = gr.Button("Apply Post-Processing")
106
 
107
- # The rest of your code for setting up the app
108
- gallery.select(update_selection, outputs=[prompt, selected_info, selected_state])
109
- prompt.submit(fn=run_lora, inputs=[prompt, selected_state], outputs=[result, post_processed_result])
110
- post_process_button.click(fn=apply_post_processing, inputs=[post_processed_result, downscale, enable_color_limit, enable_grayscale, enable_black_and_white], outputs=[post_processed_result])
111
-
112
- app.queue(max_size=20, concurrency_count=5)
113
- app.launch()
 
104
 
105
  post_process_button = gr.Button("Apply Post-Processing")
106
 
107
+ # The rest of your code for setting up the app
108
+ gallery.select(update_selection, outputs=[prompt, selected_info, selected_state])
109
+ prompt.submit(fn=run_lora, inputs=[prompt, selected_state], outputs=[result, post_processed_result])
110
+ post_process_button.click(fn=apply_post_processing, inputs=[post_processed_result, downscale, enable_color_limit, enable_grayscale, enable_black_and_white], outputs=[post_processed_result])
111
+
112
+ app.queue(max_size=20, concurrency_count=5)
113
+ app.launch()