Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -136,9 +136,8 @@ idip_checkboxes = []
|
|
136 |
def open_accordion_on_example_selection(*args):
|
137 |
# print("enter open_accordion_on_example_selection")
|
138 |
len_images = (len(args)-11)//3
|
139 |
-
|
140 |
-
|
141 |
-
return outputs
|
142 |
|
143 |
@spaces.GPU
|
144 |
def generate_image(
|
|
|
136 |
def open_accordion_on_example_selection(*args):
|
137 |
# print("enter open_accordion_on_example_selection")
|
138 |
len_images = (len(args)-11)//3
|
139 |
+
clear_values = [None] * (num_inputs-len_images) + [""] * (num_inputs-len_images) + [False] * (num_inputs-len_images)
|
140 |
+
return clear_values
|
|
|
141 |
|
142 |
@spaces.GPU
|
143 |
def generate_image(
|