Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def sky_fn(inp):
|
|
40 |
#dif = gr.Interface.load("models/stabilityai/stable-diffusion-2-1-base", live=True),
|
41 |
#dif = models[0]
|
42 |
uid=uuid.uuid4()
|
43 |
-
output=proc1
|
44 |
#output=dif(inp)
|
45 |
print(output)
|
46 |
outp=Image.open(output[0])
|
@@ -65,7 +65,8 @@ def star_fn(inp):
|
|
65 |
#dif = gr.Interface.load("models/stabilityai/stable-diffusion-2-1-base", live=True),
|
66 |
#dif = models[0]
|
67 |
uid=uuid.uuid4()
|
68 |
-
output=proc2
|
|
|
69 |
#output=dif(inp)
|
70 |
print(output)
|
71 |
outp=Image.open(output[0])
|
|
|
40 |
#dif = gr.Interface.load("models/stabilityai/stable-diffusion-2-1-base", live=True),
|
41 |
#dif = models[0]
|
42 |
uid=uuid.uuid4()
|
43 |
+
output=proc1(inp,5,1)
|
44 |
#output=dif(inp)
|
45 |
print(output)
|
46 |
outp=Image.open(output[0])
|
|
|
65 |
#dif = gr.Interface.load("models/stabilityai/stable-diffusion-2-1-base", live=True),
|
66 |
#dif = models[0]
|
67 |
uid=uuid.uuid4()
|
68 |
+
output=proc2(inp,5,1)
|
69 |
+
#output=proc2.send_it(inp,5,1)
|
70 |
#output=dif(inp)
|
71 |
print(output)
|
72 |
outp=Image.open(output[0])
|