Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,6 @@ class FluxEditor:
|
|
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
|
84 |
# if seed == -1:
|
85 |
# seed = None
|
|
|
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 |
seed = None
|
83 |
# if seed == -1:
|
84 |
# seed = None
|