Yaron Koresh commited on
Commit
0e1c010
·
verified ·
1 Parent(s): 30b0e64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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 = pipe2(
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