anyisalin commited on
Commit
fada209
1 Parent(s): 25a10a7

init commit

Browse files

Signed-off-by: AnyISalIn <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -218,7 +218,7 @@ def generate_image(novita_key, upload_images, checkpoint, lora_name, lora_streng
218
 
219
 
220
  def swap_to_gallery(images):
221
- return gr.update(value=images, visible=True), gr.update(visible=True), gr.update(visible=False)
222
 
223
 
224
  def upload_example_to_gallery(images, checkpoint, lora_name, lora_strength, width, height, prompt, style, negative_prompt):
 
218
 
219
 
220
  def swap_to_gallery(images):
221
+ return gr.update(value=[_.name for _ in images], visible=True), gr.update(visible=True), gr.update(visible=False)
222
 
223
 
224
  def upload_example_to_gallery(images, checkpoint, lora_name, lora_strength, width, height, prompt, style, negative_prompt):