Spaces:
Runtime error
Runtime error
Update
Browse files- app_canny.py +3 -0
- app_depth.py +3 -0
- app_ip2p.py +3 -0
- app_lineart.py +3 -0
- app_mlsd.py +3 -0
- app_normal.py +3 -0
- app_openpose.py +3 -0
- app_scribble.py +3 -0
- app_scribble_interactive.py +3 -0
- app_segmentation.py +3 -0
- app_shuffle.py +3 -0
- app_softedge.py +3 -0
app_canny.py
CHANGED
@@ -86,16 +86,19 @@ def create_demo(process):
|
|
86 |
inputs=[seed, randomize_seed],
|
87 |
outputs=seed,
|
88 |
queue=False,
|
|
|
89 |
).then(
|
90 |
fn=process,
|
91 |
inputs=inputs,
|
92 |
outputs=result,
|
|
|
93 |
)
|
94 |
run_button.click(
|
95 |
fn=randomize_seed_fn,
|
96 |
inputs=[seed, randomize_seed],
|
97 |
outputs=seed,
|
98 |
queue=False,
|
|
|
99 |
).then(
|
100 |
fn=process,
|
101 |
inputs=inputs,
|
|
|
86 |
inputs=[seed, randomize_seed],
|
87 |
outputs=seed,
|
88 |
queue=False,
|
89 |
+
api_name=False,
|
90 |
).then(
|
91 |
fn=process,
|
92 |
inputs=inputs,
|
93 |
outputs=result,
|
94 |
+
api_name=False,
|
95 |
)
|
96 |
run_button.click(
|
97 |
fn=randomize_seed_fn,
|
98 |
inputs=[seed, randomize_seed],
|
99 |
outputs=seed,
|
100 |
queue=False,
|
101 |
+
api_name=False,
|
102 |
).then(
|
103 |
fn=process,
|
104 |
inputs=inputs,
|
app_depth.py
CHANGED
@@ -85,16 +85,19 @@ def create_demo(process):
|
|
85 |
inputs=[seed, randomize_seed],
|
86 |
outputs=seed,
|
87 |
queue=False,
|
|
|
88 |
).then(
|
89 |
fn=process,
|
90 |
inputs=inputs,
|
91 |
outputs=result,
|
|
|
92 |
)
|
93 |
run_button.click(
|
94 |
fn=randomize_seed_fn,
|
95 |
inputs=[seed, randomize_seed],
|
96 |
outputs=seed,
|
97 |
queue=False,
|
|
|
98 |
).then(
|
99 |
fn=process,
|
100 |
inputs=inputs,
|
|
|
85 |
inputs=[seed, randomize_seed],
|
86 |
outputs=seed,
|
87 |
queue=False,
|
88 |
+
api_name=False,
|
89 |
).then(
|
90 |
fn=process,
|
91 |
inputs=inputs,
|
92 |
outputs=result,
|
93 |
+
api_name=False,
|
94 |
)
|
95 |
run_button.click(
|
96 |
fn=randomize_seed_fn,
|
97 |
inputs=[seed, randomize_seed],
|
98 |
outputs=seed,
|
99 |
queue=False,
|
100 |
+
api_name=False,
|
101 |
).then(
|
102 |
fn=process,
|
103 |
inputs=inputs,
|
app_ip2p.py
CHANGED
@@ -72,16 +72,19 @@ def create_demo(process):
|
|
72 |
inputs=[seed, randomize_seed],
|
73 |
outputs=seed,
|
74 |
queue=False,
|
|
|
75 |
).then(
|
76 |
fn=process,
|
77 |
inputs=inputs,
|
78 |
outputs=result,
|
|
|
79 |
)
|
80 |
run_button.click(
|
81 |
fn=randomize_seed_fn,
|
82 |
inputs=[seed, randomize_seed],
|
83 |
outputs=seed,
|
84 |
queue=False,
|
|
|
85 |
).then(
|
86 |
fn=process,
|
87 |
inputs=inputs,
|
|
|
72 |
inputs=[seed, randomize_seed],
|
73 |
outputs=seed,
|
74 |
queue=False,
|
75 |
+
api_name=False,
|
76 |
).then(
|
77 |
fn=process,
|
78 |
inputs=inputs,
|
79 |
outputs=result,
|
80 |
+
api_name=False,
|
81 |
)
|
82 |
run_button.click(
|
83 |
fn=randomize_seed_fn,
|
84 |
inputs=[seed, randomize_seed],
|
85 |
outputs=seed,
|
86 |
queue=False,
|
87 |
+
api_name=False,
|
88 |
).then(
|
89 |
fn=process,
|
90 |
inputs=inputs,
|
app_lineart.py
CHANGED
@@ -94,16 +94,19 @@ def create_demo(process):
|
|
94 |
inputs=[seed, randomize_seed],
|
95 |
outputs=seed,
|
96 |
queue=False,
|
|
|
97 |
).then(
|
98 |
fn=process,
|
99 |
inputs=inputs,
|
100 |
outputs=result,
|
|
|
101 |
)
|
102 |
run_button.click(
|
103 |
fn=randomize_seed_fn,
|
104 |
inputs=[seed, randomize_seed],
|
105 |
outputs=seed,
|
106 |
queue=False,
|
|
|
107 |
).then(
|
108 |
fn=process,
|
109 |
inputs=inputs,
|
|
|
94 |
inputs=[seed, randomize_seed],
|
95 |
outputs=seed,
|
96 |
queue=False,
|
97 |
+
api_name=False,
|
98 |
).then(
|
99 |
fn=process,
|
100 |
inputs=inputs,
|
101 |
outputs=result,
|
102 |
+
api_name=False,
|
103 |
)
|
104 |
run_button.click(
|
105 |
fn=randomize_seed_fn,
|
106 |
inputs=[seed, randomize_seed],
|
107 |
outputs=seed,
|
108 |
queue=False,
|
109 |
+
api_name=False,
|
110 |
).then(
|
111 |
fn=process,
|
112 |
inputs=inputs,
|
app_mlsd.py
CHANGED
@@ -93,16 +93,19 @@ def create_demo(process):
|
|
93 |
inputs=[seed, randomize_seed],
|
94 |
outputs=seed,
|
95 |
queue=False,
|
|
|
96 |
).then(
|
97 |
fn=process,
|
98 |
inputs=inputs,
|
99 |
outputs=result,
|
|
|
100 |
)
|
101 |
run_button.click(
|
102 |
fn=randomize_seed_fn,
|
103 |
inputs=[seed, randomize_seed],
|
104 |
outputs=seed,
|
105 |
queue=False,
|
|
|
106 |
).then(
|
107 |
fn=process,
|
108 |
inputs=inputs,
|
|
|
93 |
inputs=[seed, randomize_seed],
|
94 |
outputs=seed,
|
95 |
queue=False,
|
96 |
+
api_name=False,
|
97 |
).then(
|
98 |
fn=process,
|
99 |
inputs=inputs,
|
100 |
outputs=result,
|
101 |
+
api_name=False,
|
102 |
)
|
103 |
run_button.click(
|
104 |
fn=randomize_seed_fn,
|
105 |
inputs=[seed, randomize_seed],
|
106 |
outputs=seed,
|
107 |
queue=False,
|
108 |
+
api_name=False,
|
109 |
).then(
|
110 |
fn=process,
|
111 |
inputs=inputs,
|
app_normal.py
CHANGED
@@ -84,16 +84,19 @@ def create_demo(process):
|
|
84 |
inputs=[seed, randomize_seed],
|
85 |
outputs=seed,
|
86 |
queue=False,
|
|
|
87 |
).then(
|
88 |
fn=process,
|
89 |
inputs=inputs,
|
90 |
outputs=result,
|
|
|
91 |
)
|
92 |
run_button.click(
|
93 |
fn=randomize_seed_fn,
|
94 |
inputs=[seed, randomize_seed],
|
95 |
outputs=seed,
|
96 |
queue=False,
|
|
|
97 |
).then(
|
98 |
fn=process,
|
99 |
inputs=inputs,
|
|
|
84 |
inputs=[seed, randomize_seed],
|
85 |
outputs=seed,
|
86 |
queue=False,
|
87 |
+
api_name=False,
|
88 |
).then(
|
89 |
fn=process,
|
90 |
inputs=inputs,
|
91 |
outputs=result,
|
92 |
+
api_name=False,
|
93 |
)
|
94 |
run_button.click(
|
95 |
fn=randomize_seed_fn,
|
96 |
inputs=[seed, randomize_seed],
|
97 |
outputs=seed,
|
98 |
queue=False,
|
99 |
+
api_name=False,
|
100 |
).then(
|
101 |
fn=process,
|
102 |
inputs=inputs,
|
app_openpose.py
CHANGED
@@ -84,16 +84,19 @@ def create_demo(process):
|
|
84 |
inputs=[seed, randomize_seed],
|
85 |
outputs=seed,
|
86 |
queue=False,
|
|
|
87 |
).then(
|
88 |
fn=process,
|
89 |
inputs=inputs,
|
90 |
outputs=result,
|
|
|
91 |
)
|
92 |
run_button.click(
|
93 |
fn=randomize_seed_fn,
|
94 |
inputs=[seed, randomize_seed],
|
95 |
outputs=seed,
|
96 |
queue=False,
|
|
|
97 |
).then(
|
98 |
fn=process,
|
99 |
inputs=inputs,
|
|
|
84 |
inputs=[seed, randomize_seed],
|
85 |
outputs=seed,
|
86 |
queue=False,
|
87 |
+
api_name=False,
|
88 |
).then(
|
89 |
fn=process,
|
90 |
inputs=inputs,
|
91 |
outputs=result,
|
92 |
+
api_name=False,
|
93 |
)
|
94 |
run_button.click(
|
95 |
fn=randomize_seed_fn,
|
96 |
inputs=[seed, randomize_seed],
|
97 |
outputs=seed,
|
98 |
queue=False,
|
99 |
+
api_name=False,
|
100 |
).then(
|
101 |
fn=process,
|
102 |
inputs=inputs,
|
app_scribble.py
CHANGED
@@ -85,16 +85,19 @@ def create_demo(process):
|
|
85 |
inputs=[seed, randomize_seed],
|
86 |
outputs=seed,
|
87 |
queue=False,
|
|
|
88 |
).then(
|
89 |
fn=process,
|
90 |
inputs=inputs,
|
91 |
outputs=result,
|
|
|
92 |
)
|
93 |
run_button.click(
|
94 |
fn=randomize_seed_fn,
|
95 |
inputs=[seed, randomize_seed],
|
96 |
outputs=seed,
|
97 |
queue=False,
|
|
|
98 |
).then(
|
99 |
fn=process,
|
100 |
inputs=inputs,
|
|
|
85 |
inputs=[seed, randomize_seed],
|
86 |
outputs=seed,
|
87 |
queue=False,
|
88 |
+
api_name=False,
|
89 |
).then(
|
90 |
fn=process,
|
91 |
inputs=inputs,
|
92 |
outputs=result,
|
93 |
+
api_name=False,
|
94 |
)
|
95 |
run_button.click(
|
96 |
fn=randomize_seed_fn,
|
97 |
inputs=[seed, randomize_seed],
|
98 |
outputs=seed,
|
99 |
queue=False,
|
100 |
+
api_name=False,
|
101 |
).then(
|
102 |
fn=process,
|
103 |
inputs=inputs,
|
app_scribble_interactive.py
CHANGED
@@ -93,16 +93,19 @@ def create_demo(process):
|
|
93 |
inputs=[seed, randomize_seed],
|
94 |
outputs=seed,
|
95 |
queue=False,
|
|
|
96 |
).then(
|
97 |
fn=process,
|
98 |
inputs=inputs,
|
99 |
outputs=result,
|
|
|
100 |
)
|
101 |
run_button.click(
|
102 |
fn=randomize_seed_fn,
|
103 |
inputs=[seed, randomize_seed],
|
104 |
outputs=seed,
|
105 |
queue=False,
|
|
|
106 |
).then(
|
107 |
fn=process,
|
108 |
inputs=inputs,
|
|
|
93 |
inputs=[seed, randomize_seed],
|
94 |
outputs=seed,
|
95 |
queue=False,
|
96 |
+
api_name=False,
|
97 |
).then(
|
98 |
fn=process,
|
99 |
inputs=inputs,
|
100 |
outputs=result,
|
101 |
+
api_name=False,
|
102 |
)
|
103 |
run_button.click(
|
104 |
fn=randomize_seed_fn,
|
105 |
inputs=[seed, randomize_seed],
|
106 |
outputs=seed,
|
107 |
queue=False,
|
108 |
+
api_name=False,
|
109 |
).then(
|
110 |
fn=process,
|
111 |
inputs=inputs,
|
app_segmentation.py
CHANGED
@@ -84,16 +84,19 @@ def create_demo(process):
|
|
84 |
inputs=[seed, randomize_seed],
|
85 |
outputs=seed,
|
86 |
queue=False,
|
|
|
87 |
).then(
|
88 |
fn=process,
|
89 |
inputs=inputs,
|
90 |
outputs=result,
|
|
|
91 |
)
|
92 |
run_button.click(
|
93 |
fn=randomize_seed_fn,
|
94 |
inputs=[seed, randomize_seed],
|
95 |
outputs=seed,
|
96 |
queue=False,
|
|
|
97 |
).then(
|
98 |
fn=process,
|
99 |
inputs=inputs,
|
|
|
84 |
inputs=[seed, randomize_seed],
|
85 |
outputs=seed,
|
86 |
queue=False,
|
87 |
+
api_name=False,
|
88 |
).then(
|
89 |
fn=process,
|
90 |
inputs=inputs,
|
91 |
outputs=result,
|
92 |
+
api_name=False,
|
93 |
)
|
94 |
run_button.click(
|
95 |
fn=randomize_seed_fn,
|
96 |
inputs=[seed, randomize_seed],
|
97 |
outputs=seed,
|
98 |
queue=False,
|
99 |
+
api_name=False,
|
100 |
).then(
|
101 |
fn=process,
|
102 |
inputs=inputs,
|
app_shuffle.py
CHANGED
@@ -78,16 +78,19 @@ def create_demo(process):
|
|
78 |
inputs=[seed, randomize_seed],
|
79 |
outputs=seed,
|
80 |
queue=False,
|
|
|
81 |
).then(
|
82 |
fn=process,
|
83 |
inputs=inputs,
|
84 |
outputs=result,
|
|
|
85 |
)
|
86 |
run_button.click(
|
87 |
fn=randomize_seed_fn,
|
88 |
inputs=[seed, randomize_seed],
|
89 |
outputs=seed,
|
90 |
queue=False,
|
|
|
91 |
).then(
|
92 |
fn=process,
|
93 |
inputs=inputs,
|
|
|
78 |
inputs=[seed, randomize_seed],
|
79 |
outputs=seed,
|
80 |
queue=False,
|
81 |
+
api_name=False,
|
82 |
).then(
|
83 |
fn=process,
|
84 |
inputs=inputs,
|
85 |
outputs=result,
|
86 |
+
api_name=False,
|
87 |
)
|
88 |
run_button.click(
|
89 |
fn=randomize_seed_fn,
|
90 |
inputs=[seed, randomize_seed],
|
91 |
outputs=seed,
|
92 |
queue=False,
|
93 |
+
api_name=False,
|
94 |
).then(
|
95 |
fn=process,
|
96 |
inputs=inputs,
|
app_softedge.py
CHANGED
@@ -90,16 +90,19 @@ def create_demo(process):
|
|
90 |
inputs=[seed, randomize_seed],
|
91 |
outputs=seed,
|
92 |
queue=False,
|
|
|
93 |
).then(
|
94 |
fn=process,
|
95 |
inputs=inputs,
|
96 |
outputs=result,
|
|
|
97 |
)
|
98 |
run_button.click(
|
99 |
fn=randomize_seed_fn,
|
100 |
inputs=[seed, randomize_seed],
|
101 |
outputs=seed,
|
102 |
queue=False,
|
|
|
103 |
).then(
|
104 |
fn=process,
|
105 |
inputs=inputs,
|
|
|
90 |
inputs=[seed, randomize_seed],
|
91 |
outputs=seed,
|
92 |
queue=False,
|
93 |
+
api_name=False,
|
94 |
).then(
|
95 |
fn=process,
|
96 |
inputs=inputs,
|
97 |
outputs=result,
|
98 |
+
api_name=False,
|
99 |
)
|
100 |
run_button.click(
|
101 |
fn=randomize_seed_fn,
|
102 |
inputs=[seed, randomize_seed],
|
103 |
outputs=seed,
|
104 |
queue=False,
|
105 |
+
api_name=False,
|
106 |
).then(
|
107 |
fn=process,
|
108 |
inputs=inputs,
|