Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
4649978
1
Parent(s):
1b088a5
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def run_lora(prompt, selected_lora_index):
|
|
35 |
|
36 |
# Placeholder for gallery.select function
|
37 |
def update_selection(selected):
|
38 |
-
return selected, #
|
39 |
|
40 |
# Gradio UI
|
41 |
with gr.Blocks(css="custom.css") as app:
|
|
|
35 |
|
36 |
# Placeholder for gallery.select function
|
37 |
def update_selection(selected):
|
38 |
+
return selected[0], # Unpack the tuple and return the first element
|
39 |
|
40 |
# Gradio UI
|
41 |
with gr.Blocks(css="custom.css") as app:
|