QY-H00
commited on
Commit
•
c685143
1
Parent(s):
614bb03
update
Browse files
app.py
CHANGED
@@ -245,7 +245,7 @@ def dynamic_gallery_fn(interpolation_size: int):
|
|
245 |
label="Result", show_label=False, rows=1, columns=interpolation_size
|
246 |
)
|
247 |
|
248 |
-
@spaces.GPU(duration=
|
249 |
@torch.no_grad()
|
250 |
def generate(
|
251 |
prompt1,
|
@@ -402,7 +402,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
402 |
minimum=5,
|
403 |
maximum=10,
|
404 |
step=1,
|
405 |
-
value=
|
406 |
info="Exploration size has to be larger than interpolation size",
|
407 |
)
|
408 |
with gr.Row():
|
|
|
245 |
label="Result", show_label=False, rows=1, columns=interpolation_size
|
246 |
)
|
247 |
|
248 |
+
@spaces.GPU(duration=110)
|
249 |
@torch.no_grad()
|
250 |
def generate(
|
251 |
prompt1,
|
|
|
402 |
minimum=5,
|
403 |
maximum=10,
|
404 |
step=1,
|
405 |
+
value=5,
|
406 |
info="Exploration size has to be larger than interpolation size",
|
407 |
)
|
408 |
with gr.Row():
|