chengzeyi commited on
Commit
1885341
·
1 Parent(s): 7e225f7

fix payload

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -190,14 +190,6 @@ class GenerationManager:
190
  "seed": -1,
191
  }
192
 
193
- if backend == "flux-dev":
194
- payload.update({
195
- "guidance_scale": 3.5,
196
- "num_images": 1,
197
- "num_inference_steps": 28,
198
- "strength": 0.8,
199
- })
200
-
201
  print(f"Submitting task to {backend}")
202
  print(f"URL: {url}")
203
  print(f"Payload: {json.dumps(payload, indent=2)}")
 
190
  "seed": -1,
191
  }
192
 
 
 
 
 
 
 
 
 
193
  print(f"Submitting task to {backend}")
194
  print(f"URL: {url}")
195
  print(f"Payload: {json.dumps(payload, indent=2)}")