Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,7 +110,7 @@ def generate_image():
|
|
| 110 |
top_p = float(request.args.get("top_p", 0.9))
|
| 111 |
eta = float(request.args.get("eta", 0.1))
|
| 112 |
|
| 113 |
-
image, error = query(prompt, negative_prompt, steps, cfg_scale, sampler, seed, strength, width, height, num_inference_steps, guidance_scale,
|
| 114 |
|
| 115 |
if error:
|
| 116 |
return jsonify({"error": error}), 400
|
|
|
|
| 110 |
top_p = float(request.args.get("top_p", 0.9))
|
| 111 |
eta = float(request.args.get("eta", 0.1))
|
| 112 |
|
| 113 |
+
image, error = query(prompt, negative_prompt, steps, cfg_scale, sampler, seed, strength, width, height, num_inference_steps, guidance_scale, top_k, top_p, eta)
|
| 114 |
|
| 115 |
if error:
|
| 116 |
return jsonify({"error": error}), 400
|