Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -142,6 +142,9 @@ def Piper(image,positive,negative,motion):
|
|
142 |
|
143 |
pipe.to(device)
|
144 |
|
|
|
|
|
|
|
145 |
if image == None:
|
146 |
return pipe(
|
147 |
positive,
|
|
|
142 |
|
143 |
pipe.to(device)
|
144 |
|
145 |
+
if negative == "":
|
146 |
+
negative = None
|
147 |
+
|
148 |
if image == None:
|
149 |
return pipe(
|
150 |
positive,
|