Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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)
|