Yaron Koresh commited on
Commit
59f1e4c
·
verified ·
1 Parent(s): 06cc5d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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,