Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,6 @@ def generate_random_string(length):
|
|
98 |
|
99 |
@spaces.GPU(duration=55)
|
100 |
def Piper1(pipe,_do):
|
101 |
-
pipe = pipe_t2i()
|
102 |
try:
|
103 |
retu = pipe(
|
104 |
_do,
|
@@ -116,7 +115,7 @@ def Piper1(pipe,_do):
|
|
116 |
@spaces.GPU(duration=55)
|
117 |
def Piper2(pipe,img,posi,neg):
|
118 |
try:
|
119 |
-
retu =
|
120 |
prompt=posi,
|
121 |
negative_prompt=neg,
|
122 |
image=img
|
|
|
98 |
|
99 |
@spaces.GPU(duration=55)
|
100 |
def Piper1(pipe,_do):
|
|
|
101 |
try:
|
102 |
retu = pipe(
|
103 |
_do,
|
|
|
115 |
@spaces.GPU(duration=55)
|
116 |
def Piper2(pipe,img,posi,neg):
|
117 |
try:
|
118 |
+
retu = pipe(
|
119 |
prompt=posi,
|
120 |
negative_prompt=neg,
|
121 |
image=img
|