jiangyzy commited on
Commit
edc0110
1 Parent(s): 51de469

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -130,7 +130,6 @@ def prepare_data(device, input_image, x0, y0, x1, y1, polar, azimuth, text):
130
 
131
 
132
  @spaces.GPU(enable_queue=True)
133
- @torch.no_grad()
134
  def run_generation(sampler, model, device, input_image, x0, y0, x1, y1, polar, azimuth, text, seed):
135
  seed_everything(seed)
136
  batch = prepare_data(device, input_image, x0, y0, x1, y1, polar, azimuth, text)
 
130
 
131
 
132
  @spaces.GPU(enable_queue=True)
 
133
  def run_generation(sampler, model, device, input_image, x0, y0, x1, y1, polar, azimuth, text, seed):
134
  seed_everything(seed)
135
  batch = prepare_data(device, input_image, x0, y0, x1, y1, polar, azimuth, text)