Spaces:
Running
on
Zero
Running
on
Zero
Rename app.py to https://huggingface.co/spaces/ByteDance/XVerseapp.py
Browse files
app.py → https:/huggingface.co/spaces/ByteDance/XVerseapp.py
RENAMED
@@ -136,7 +136,7 @@ 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 |
-
return
|
140 |
|
141 |
@spaces.GPU
|
142 |
def generate_image(
|
@@ -503,7 +503,7 @@ if __name__ == "__main__":
|
|
503 |
vae_skip_iter_s1,
|
504 |
vae_skip_iter_s2,
|
505 |
],
|
506 |
-
outputs=images[3
|
507 |
fn=open_accordion_on_example_selection,
|
508 |
run_on_click=True,
|
509 |
label="Examples"
|
|
|
136 |
def open_accordion_on_example_selection(*args):
|
137 |
# print("enter open_accordion_on_example_selection")
|
138 |
len_images = (len(args)-11)//3
|
139 |
+
return None
|
140 |
|
141 |
@spaces.GPU
|
142 |
def generate_image(
|
|
|
503 |
vae_skip_iter_s1,
|
504 |
vae_skip_iter_s2,
|
505 |
],
|
506 |
+
outputs=images[3],
|
507 |
fn=open_accordion_on_example_selection,
|
508 |
run_on_click=True,
|
509 |
label="Examples"
|