AbstractPhil commited on
Commit
1ee003a
Β·
1 Parent(s): 4bec240
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -131,8 +131,9 @@ def encode_sdxl_prompt(prompt, negative_prompt=""):
131
 
132
  # ─── Inference ────────────────────────────────────────────
133
 
134
- @torch.no_grad()
135
  @spaces.GPU
 
136
  def infer(prompt, negative_prompt, adapter_l_file, adapter_g_file, strength, noise, gate_prob,
137
  use_anchor, steps, cfg_scale, scheduler_name, width, height, seed):
138
 
 
131
 
132
  # ─── Inference ────────────────────────────────────────────
133
 
134
+
135
  @spaces.GPU
136
+ @torch.no_grad()
137
  def infer(prompt, negative_prompt, adapter_l_file, adapter_g_file, strength, noise, gate_prob,
138
  use_anchor, steps, cfg_scale, scheduler_name, width, height, seed):
139