Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ def sample(sampler, model, c, uc, scale, start_code, h=512, w=512, precision="au
|
|
76 |
x_samples_ddim = model.decode_first_stage(samples_ddim)
|
77 |
return to_im_list(x_samples_ddim)
|
78 |
|
79 |
-
def
|
80 |
|
81 |
inps = []
|
82 |
for i in range(0, len(args)-4, n_inputs):
|
@@ -118,9 +118,9 @@ def run(args):
|
|
118 |
|
119 |
import gradio
|
120 |
|
121 |
-
def
|
122 |
inputs = [
|
123 |
-
"Image", "Image", "Text/URL", "
|
124 |
"","","flowers","","",
|
125 |
Image.open("ex2-1.jpeg").convert("RGB"),
|
126 |
Image.open("ex2-2.jpeg").convert("RGB"),
|
|
|
76 |
x_samples_ddim = model.decode_first_stage(samples_ddim)
|
77 |
return to_im_list(x_samples_ddim)
|
78 |
|
79 |
+
def run_image_mixer(args):
|
80 |
|
81 |
inps = []
|
82 |
for i in range(0, len(args)-4, n_inputs):
|
|
|
118 |
|
119 |
import gradio
|
120 |
|
121 |
+
def boutsify(person):
|
122 |
inputs = [
|
123 |
+
"Image", "Image", "Text/URL", "Image", "Nothing",
|
124 |
"","","flowers","","",
|
125 |
Image.open("ex2-1.jpeg").convert("RGB"),
|
126 |
Image.open("ex2-2.jpeg").convert("RGB"),
|