mouseland commited on
Commit
742919e
·
verified ·
1 Parent(s): e426c5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -150,22 +150,22 @@ def image_resize(img, resize=400):
150
 
151
  @spaces.GPU(duration=10)
152
  def run_model_gpu(img):
153
- masks, flows, _ = model.eval(img)#, channels = [0,0])
154
  return masks, flows
155
 
156
  @spaces.GPU(duration=60)
157
  def run_model_gpu60(img):
158
- masks, flows, _ = model.eval(img)#, channels = [0,0])
159
  return masks, flows
160
 
161
  @spaces.GPU(duration=240)
162
  def run_model_gpu240(img):
163
- masks, flows, _ = model.eval(img)#, channels = [0,0])
164
  return masks, flows
165
 
166
  @spaces.GPU(duration=1000)
167
  def run_model_gpu1000(img):
168
- masks, flows, _ = model.eval(img)#, channels = [0,0])
169
  return masks, flows
170
 
171
 
 
150
 
151
  @spaces.GPU(duration=10)
152
  def run_model_gpu(img):
153
+ masks, flows, _ = model.eval(img, niter = 250)#, channels = [0,0])
154
  return masks, flows
155
 
156
  @spaces.GPU(duration=60)
157
  def run_model_gpu60(img):
158
+ masks, flows, _ = model.eval(img, niter = 500)#, channels = [0,0])
159
  return masks, flows
160
 
161
  @spaces.GPU(duration=240)
162
  def run_model_gpu240(img):
163
+ masks, flows, _ = model.eval(img, niter = 500)#, channels = [0,0])
164
  return masks, flows
165
 
166
  @spaces.GPU(duration=1000)
167
  def run_model_gpu1000(img):
168
+ masks, flows, _ = model.eval(img, niter = 500)#, channels = [0,0])
169
  return masks, flows
170
 
171