Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ class FluxEditor:
|
|
77 |
self.model.cuda()
|
78 |
|
79 |
@torch.inference_mode()
|
80 |
-
@spaces.GPU(duration=
|
81 |
def edit(self, init_image, source_prompt, target_prompt, num_steps, inject_step, guidance, seed):
|
82 |
torch.cuda.empty_cache()
|
83 |
seed = None
|
|
|
77 |
self.model.cuda()
|
78 |
|
79 |
@torch.inference_mode()
|
80 |
+
@spaces.GPU(duration=60)
|
81 |
def edit(self, init_image, source_prompt, target_prompt, num_steps, inject_step, guidance, seed):
|
82 |
torch.cuda.empty_cache()
|
83 |
seed = None
|