Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -273,6 +273,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 273 |
text_button.click(generate_txt2img, inputs=[current_model, text_prompt, negative_prompt, image_style], outputs=image_output)
|
| 274 |
select_button.click(generate_txt2img, inputs=[current_model, select_prompt, negative_prompt, image_style], outputs=image_output)
|
| 275 |
|
| 276 |
-
demo.load(get_params, None, [current_model, select_prompt])
|
| 277 |
|
| 278 |
demo.launch(show_api=False)
|
|
|
|
| 273 |
text_button.click(generate_txt2img, inputs=[current_model, text_prompt, negative_prompt, image_style], outputs=image_output)
|
| 274 |
select_button.click(generate_txt2img, inputs=[current_model, select_prompt, negative_prompt, image_style], outputs=image_output)
|
| 275 |
|
| 276 |
+
#demo.load(get_params, None, [current_model, select_prompt])
|
| 277 |
|
| 278 |
demo.launch(show_api=False)
|