Spaces:
Running
on
L4
Running
on
L4
Update
Browse files- app_canny.py +2 -0
- app_depth.py +2 -0
- app_ip2p.py +2 -0
- app_lineart.py +2 -0
- app_mlsd.py +2 -0
- app_normal.py +2 -0
- app_openpose.py +2 -0
- app_scribble.py +2 -0
- app_scribble_interactive.py +2 -0
- app_segmentation.py +2 -0
- app_shuffle.py +2 -0
- app_softedge.py +2 -0
app_canny.py
CHANGED
@@ -81,6 +81,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
81 |
fn=randomize_seed_fn,
|
82 |
inputs=[seed, randomize_seed],
|
83 |
outputs=seed,
|
|
|
84 |
).then(
|
85 |
fn=process,
|
86 |
inputs=inputs,
|
@@ -90,6 +91,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
90 |
fn=randomize_seed_fn,
|
91 |
inputs=[seed, randomize_seed],
|
92 |
outputs=seed,
|
|
|
93 |
).then(
|
94 |
fn=process,
|
95 |
inputs=inputs,
|
|
|
81 |
fn=randomize_seed_fn,
|
82 |
inputs=[seed, randomize_seed],
|
83 |
outputs=seed,
|
84 |
+
queue=False,
|
85 |
).then(
|
86 |
fn=process,
|
87 |
inputs=inputs,
|
|
|
91 |
fn=randomize_seed_fn,
|
92 |
inputs=[seed, randomize_seed],
|
93 |
outputs=seed,
|
94 |
+
queue=False,
|
95 |
).then(
|
96 |
fn=process,
|
97 |
inputs=inputs,
|
app_depth.py
CHANGED
@@ -80,6 +80,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
80 |
fn=randomize_seed_fn,
|
81 |
inputs=[seed, randomize_seed],
|
82 |
outputs=seed,
|
|
|
83 |
).then(
|
84 |
fn=process,
|
85 |
inputs=inputs,
|
@@ -89,6 +90,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
89 |
fn=randomize_seed_fn,
|
90 |
inputs=[seed, randomize_seed],
|
91 |
outputs=seed,
|
|
|
92 |
).then(
|
93 |
fn=process,
|
94 |
inputs=inputs,
|
|
|
80 |
fn=randomize_seed_fn,
|
81 |
inputs=[seed, randomize_seed],
|
82 |
outputs=seed,
|
83 |
+
queue=False,
|
84 |
).then(
|
85 |
fn=process,
|
86 |
inputs=inputs,
|
|
|
90 |
fn=randomize_seed_fn,
|
91 |
inputs=[seed, randomize_seed],
|
92 |
outputs=seed,
|
93 |
+
queue=False,
|
94 |
).then(
|
95 |
fn=process,
|
96 |
inputs=inputs,
|
app_ip2p.py
CHANGED
@@ -67,6 +67,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
67 |
fn=randomize_seed_fn,
|
68 |
inputs=[seed, randomize_seed],
|
69 |
outputs=seed,
|
|
|
70 |
).then(
|
71 |
fn=process,
|
72 |
inputs=inputs,
|
@@ -76,6 +77,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
76 |
fn=randomize_seed_fn,
|
77 |
inputs=[seed, randomize_seed],
|
78 |
outputs=seed,
|
|
|
79 |
).then(
|
80 |
fn=process,
|
81 |
inputs=inputs,
|
|
|
67 |
fn=randomize_seed_fn,
|
68 |
inputs=[seed, randomize_seed],
|
69 |
outputs=seed,
|
70 |
+
queue=False,
|
71 |
).then(
|
72 |
fn=process,
|
73 |
inputs=inputs,
|
|
|
77 |
fn=randomize_seed_fn,
|
78 |
inputs=[seed, randomize_seed],
|
79 |
outputs=seed,
|
80 |
+
queue=False,
|
81 |
).then(
|
82 |
fn=process,
|
83 |
inputs=inputs,
|
app_lineart.py
CHANGED
@@ -89,6 +89,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
89 |
fn=randomize_seed_fn,
|
90 |
inputs=[seed, randomize_seed],
|
91 |
outputs=seed,
|
|
|
92 |
).then(
|
93 |
fn=process,
|
94 |
inputs=inputs,
|
@@ -98,6 +99,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
98 |
fn=randomize_seed_fn,
|
99 |
inputs=[seed, randomize_seed],
|
100 |
outputs=seed,
|
|
|
101 |
).then(
|
102 |
fn=process,
|
103 |
inputs=inputs,
|
|
|
89 |
fn=randomize_seed_fn,
|
90 |
inputs=[seed, randomize_seed],
|
91 |
outputs=seed,
|
92 |
+
queue=False,
|
93 |
).then(
|
94 |
fn=process,
|
95 |
inputs=inputs,
|
|
|
99 |
fn=randomize_seed_fn,
|
100 |
inputs=[seed, randomize_seed],
|
101 |
outputs=seed,
|
102 |
+
queue=False,
|
103 |
).then(
|
104 |
fn=process,
|
105 |
inputs=inputs,
|
app_mlsd.py
CHANGED
@@ -88,6 +88,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
88 |
fn=randomize_seed_fn,
|
89 |
inputs=[seed, randomize_seed],
|
90 |
outputs=seed,
|
|
|
91 |
).then(
|
92 |
fn=process,
|
93 |
inputs=inputs,
|
@@ -97,6 +98,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
97 |
fn=randomize_seed_fn,
|
98 |
inputs=[seed, randomize_seed],
|
99 |
outputs=seed,
|
|
|
100 |
).then(
|
101 |
fn=process,
|
102 |
inputs=inputs,
|
|
|
88 |
fn=randomize_seed_fn,
|
89 |
inputs=[seed, randomize_seed],
|
90 |
outputs=seed,
|
91 |
+
queue=False,
|
92 |
).then(
|
93 |
fn=process,
|
94 |
inputs=inputs,
|
|
|
98 |
fn=randomize_seed_fn,
|
99 |
inputs=[seed, randomize_seed],
|
100 |
outputs=seed,
|
101 |
+
queue=False,
|
102 |
).then(
|
103 |
fn=process,
|
104 |
inputs=inputs,
|
app_normal.py
CHANGED
@@ -79,6 +79,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
79 |
fn=randomize_seed_fn,
|
80 |
inputs=[seed, randomize_seed],
|
81 |
outputs=seed,
|
|
|
82 |
).then(
|
83 |
fn=process,
|
84 |
inputs=inputs,
|
@@ -88,6 +89,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
88 |
fn=randomize_seed_fn,
|
89 |
inputs=[seed, randomize_seed],
|
90 |
outputs=seed,
|
|
|
91 |
).then(
|
92 |
fn=process,
|
93 |
inputs=inputs,
|
|
|
79 |
fn=randomize_seed_fn,
|
80 |
inputs=[seed, randomize_seed],
|
81 |
outputs=seed,
|
82 |
+
queue=False,
|
83 |
).then(
|
84 |
fn=process,
|
85 |
inputs=inputs,
|
|
|
89 |
fn=randomize_seed_fn,
|
90 |
inputs=[seed, randomize_seed],
|
91 |
outputs=seed,
|
92 |
+
queue=False,
|
93 |
).then(
|
94 |
fn=process,
|
95 |
inputs=inputs,
|
app_openpose.py
CHANGED
@@ -79,6 +79,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
79 |
fn=randomize_seed_fn,
|
80 |
inputs=[seed, randomize_seed],
|
81 |
outputs=seed,
|
|
|
82 |
).then(
|
83 |
fn=process,
|
84 |
inputs=inputs,
|
@@ -88,6 +89,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
88 |
fn=randomize_seed_fn,
|
89 |
inputs=[seed, randomize_seed],
|
90 |
outputs=seed,
|
|
|
91 |
).then(
|
92 |
fn=process,
|
93 |
inputs=inputs,
|
|
|
79 |
fn=randomize_seed_fn,
|
80 |
inputs=[seed, randomize_seed],
|
81 |
outputs=seed,
|
82 |
+
queue=False,
|
83 |
).then(
|
84 |
fn=process,
|
85 |
inputs=inputs,
|
|
|
89 |
fn=randomize_seed_fn,
|
90 |
inputs=[seed, randomize_seed],
|
91 |
outputs=seed,
|
92 |
+
queue=False,
|
93 |
).then(
|
94 |
fn=process,
|
95 |
inputs=inputs,
|
app_scribble.py
CHANGED
@@ -80,6 +80,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
80 |
fn=randomize_seed_fn,
|
81 |
inputs=[seed, randomize_seed],
|
82 |
outputs=seed,
|
|
|
83 |
).then(
|
84 |
fn=process,
|
85 |
inputs=inputs,
|
@@ -89,6 +90,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
89 |
fn=randomize_seed_fn,
|
90 |
inputs=[seed, randomize_seed],
|
91 |
outputs=seed,
|
|
|
92 |
).then(
|
93 |
fn=process,
|
94 |
inputs=inputs,
|
|
|
80 |
fn=randomize_seed_fn,
|
81 |
inputs=[seed, randomize_seed],
|
82 |
outputs=seed,
|
83 |
+
queue=False,
|
84 |
).then(
|
85 |
fn=process,
|
86 |
inputs=inputs,
|
|
|
90 |
fn=randomize_seed_fn,
|
91 |
inputs=[seed, randomize_seed],
|
92 |
outputs=seed,
|
93 |
+
queue=False,
|
94 |
).then(
|
95 |
fn=process,
|
96 |
inputs=inputs,
|
app_scribble_interactive.py
CHANGED
@@ -88,6 +88,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
88 |
fn=randomize_seed_fn,
|
89 |
inputs=[seed, randomize_seed],
|
90 |
outputs=seed,
|
|
|
91 |
).then(
|
92 |
fn=process,
|
93 |
inputs=inputs,
|
@@ -97,6 +98,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
97 |
fn=randomize_seed_fn,
|
98 |
inputs=[seed, randomize_seed],
|
99 |
outputs=seed,
|
|
|
100 |
).then(
|
101 |
fn=process,
|
102 |
inputs=inputs,
|
|
|
88 |
fn=randomize_seed_fn,
|
89 |
inputs=[seed, randomize_seed],
|
90 |
outputs=seed,
|
91 |
+
queue=False,
|
92 |
).then(
|
93 |
fn=process,
|
94 |
inputs=inputs,
|
|
|
98 |
fn=randomize_seed_fn,
|
99 |
inputs=[seed, randomize_seed],
|
100 |
outputs=seed,
|
101 |
+
queue=False,
|
102 |
).then(
|
103 |
fn=process,
|
104 |
inputs=inputs,
|
app_segmentation.py
CHANGED
@@ -79,6 +79,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
79 |
fn=randomize_seed_fn,
|
80 |
inputs=[seed, randomize_seed],
|
81 |
outputs=seed,
|
|
|
82 |
).then(
|
83 |
fn=process,
|
84 |
inputs=inputs,
|
@@ -88,6 +89,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
88 |
fn=randomize_seed_fn,
|
89 |
inputs=[seed, randomize_seed],
|
90 |
outputs=seed,
|
|
|
91 |
).then(
|
92 |
fn=process,
|
93 |
inputs=inputs,
|
|
|
79 |
fn=randomize_seed_fn,
|
80 |
inputs=[seed, randomize_seed],
|
81 |
outputs=seed,
|
82 |
+
queue=False,
|
83 |
).then(
|
84 |
fn=process,
|
85 |
inputs=inputs,
|
|
|
89 |
fn=randomize_seed_fn,
|
90 |
inputs=[seed, randomize_seed],
|
91 |
outputs=seed,
|
92 |
+
queue=False,
|
93 |
).then(
|
94 |
fn=process,
|
95 |
inputs=inputs,
|
app_shuffle.py
CHANGED
@@ -73,6 +73,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
73 |
fn=randomize_seed_fn,
|
74 |
inputs=[seed, randomize_seed],
|
75 |
outputs=seed,
|
|
|
76 |
).then(
|
77 |
fn=process,
|
78 |
inputs=inputs,
|
@@ -82,6 +83,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
82 |
fn=randomize_seed_fn,
|
83 |
inputs=[seed, randomize_seed],
|
84 |
outputs=seed,
|
|
|
85 |
).then(
|
86 |
fn=process,
|
87 |
inputs=inputs,
|
|
|
73 |
fn=randomize_seed_fn,
|
74 |
inputs=[seed, randomize_seed],
|
75 |
outputs=seed,
|
76 |
+
queue=False,
|
77 |
).then(
|
78 |
fn=process,
|
79 |
inputs=inputs,
|
|
|
83 |
fn=randomize_seed_fn,
|
84 |
inputs=[seed, randomize_seed],
|
85 |
outputs=seed,
|
86 |
+
queue=False,
|
87 |
).then(
|
88 |
fn=process,
|
89 |
inputs=inputs,
|
app_softedge.py
CHANGED
@@ -85,6 +85,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
85 |
fn=randomize_seed_fn,
|
86 |
inputs=[seed, randomize_seed],
|
87 |
outputs=seed,
|
|
|
88 |
).then(
|
89 |
fn=process,
|
90 |
inputs=inputs,
|
@@ -94,6 +95,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
94 |
fn=randomize_seed_fn,
|
95 |
inputs=[seed, randomize_seed],
|
96 |
outputs=seed,
|
|
|
97 |
).then(
|
98 |
fn=process,
|
99 |
inputs=inputs,
|
|
|
85 |
fn=randomize_seed_fn,
|
86 |
inputs=[seed, randomize_seed],
|
87 |
outputs=seed,
|
88 |
+
queue=False,
|
89 |
).then(
|
90 |
fn=process,
|
91 |
inputs=inputs,
|
|
|
95 |
fn=randomize_seed_fn,
|
96 |
inputs=[seed, randomize_seed],
|
97 |
outputs=seed,
|
98 |
+
queue=False,
|
99 |
).then(
|
100 |
fn=process,
|
101 |
inputs=inputs,
|