zenafey commited on
Commit
e5e7e00
1 Parent(s): f450e7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks(css=css, theme="zenafey/prodia-web") as demo:
54
  with gr.Row():
55
  for lora in lora_list:
56
  lora_btn = gr.Button(lora, size="sm")
57
- lora_btn.click(place_lora, inputs=[prompt, lora_btn], outputs=prompt)
58
 
59
  with gr.Column():
60
  image_output = gr.Gallery(columns=3,
@@ -101,7 +101,7 @@ with gr.Blocks(css=css, theme="zenafey/prodia-web") as demo:
101
  with gr.Row():
102
  for lora in lora_list:
103
  lora_btn = gr.Button(lora, size="sm")
104
- lora_btn.click(place_lora, inputs=[i2i_prompt, lora_btn], outputs=i2i_prompt)
105
 
106
  with gr.Column(scale=1):
107
  i2i_image_output = gr.Gallery(columns=3,
 
54
  with gr.Row():
55
  for lora in lora_list:
56
  lora_btn = gr.Button(lora, size="sm")
57
+ lora_btn.click(place_lora, inputs=[prompt, lora_btn], outputs=prompt, queue=False)
58
 
59
  with gr.Column():
60
  image_output = gr.Gallery(columns=3,
 
101
  with gr.Row():
102
  for lora in lora_list:
103
  lora_btn = gr.Button(lora, size="sm")
104
+ lora_btn.click(place_lora, inputs=[i2i_prompt, lora_btn], outputs=i2i_prompt, queue=False)
105
 
106
  with gr.Column(scale=1):
107
  i2i_image_output = gr.Gallery(columns=3,