Spaces:
Running
Running
Sebastiankay
commited on
Commit
•
6ae3c6f
1
Parent(s):
a42a9d1
Sep 10, 2024, 6:08 PM
Browse files
app.py
CHANGED
@@ -252,7 +252,7 @@ with gr.Blocks(theme=theme, head=custom_head, css=custom_css, js=custom_js, titl
|
|
252 |
|
253 |
image_ratio_buttons.input(fn=calculate_ratio_values, inputs=[image_ratio_buttons, image_width, image_height], outputs=[image_width, image_height], show_progress="hidden")
|
254 |
|
255 |
-
run_button.click(fn=process, inputs=[text_prompt, image_width, image_height, image_seed, randomize_seed, image_info_tb_prompt], outputs=[output_image, output_url, outpu_image_comment, image_informations, image_info_tb_prompt, image_info_tb_width, image_info_tb_height, image_info_tb_seed, image_download_button, output_dominant_image_color, image_seed, random_promp_output])
|
256 |
|
257 |
enhance_prompt_button.click(fn=groq_enhance_process, inputs=[text_prompt], outputs=[text_prompt])
|
258 |
random_prompt_button.click(fn=groq_enhance_process, inputs=None, outputs=[text_prompt])
|
|
|
252 |
|
253 |
image_ratio_buttons.input(fn=calculate_ratio_values, inputs=[image_ratio_buttons, image_width, image_height], outputs=[image_width, image_height], show_progress="hidden")
|
254 |
|
255 |
+
run_button.click(fn=process, inputs=[text_prompt, image_width, image_height, image_seed, randomize_seed, image_info_tb_prompt], outputs=[text_prompt, output_image, output_url, outpu_image_comment, image_informations, image_info_tb_prompt, image_info_tb_width, image_info_tb_height, image_info_tb_seed, image_download_button, output_dominant_image_color, image_seed, random_promp_output])
|
256 |
|
257 |
enhance_prompt_button.click(fn=groq_enhance_process, inputs=[text_prompt], outputs=[text_prompt])
|
258 |
random_prompt_button.click(fn=groq_enhance_process, inputs=None, outputs=[text_prompt])
|