Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ models =[
|
|
11 |
"Yntec/REV",
|
12 |
"Yntec/CetusRemix",
|
13 |
"Yntec/Cetus",
|
14 |
-
"Yntec/
|
15 |
"Yntec/RadiantCinemagic",
|
16 |
"Yntec/RadiantVibes",
|
17 |
]
|
@@ -47,7 +47,7 @@ def clear_it(val):
|
|
47 |
return val
|
48 |
|
49 |
def all_task_end(cnt,t_stamp):
|
50 |
-
to = t_stamp +
|
51 |
et = time.time()
|
52 |
if et > to and t_stamp != 0:
|
53 |
d = gr.update(value=0)
|
@@ -111,7 +111,7 @@ with gr.Blocks(title="SD Models") as my_interface:
|
|
111 |
[start_box, end_box],
|
112 |
[start_box, tog_box],
|
113 |
every=1,
|
114 |
-
show_progress=
|
115 |
|
116 |
primary_prompt.submit(all_task_start, None, [start_box, end_box, tog_box])
|
117 |
run.click(all_task_start, None, [start_box, end_box, tog_box])
|
|
|
11 |
"Yntec/REV",
|
12 |
"Yntec/CetusRemix",
|
13 |
"Yntec/Cetus",
|
14 |
+
"Yntec/DucHaitenAIart-beta",
|
15 |
"Yntec/RadiantCinemagic",
|
16 |
"Yntec/RadiantVibes",
|
17 |
]
|
|
|
47 |
return val
|
48 |
|
49 |
def all_task_end(cnt,t_stamp):
|
50 |
+
to = t_stamp + 360
|
51 |
et = time.time()
|
52 |
if et > to and t_stamp != 0:
|
53 |
d = gr.update(value=0)
|
|
|
111 |
[start_box, end_box],
|
112 |
[start_box, tog_box],
|
113 |
every=1,
|
114 |
+
show_progress=True)
|
115 |
|
116 |
primary_prompt.submit(all_task_start, None, [start_box, end_box, tog_box])
|
117 |
run.click(all_task_start, None, [start_box, end_box, tog_box])
|