Spaces:
Runtime error
Runtime error
init commit
Browse filesSigned-off-by: AnyISalIn <[email protected]>
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):
|