Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def generate_images(text, selected_model, steps, cfg_scale, seed, width, height)
|
|
| 36 |
result = model(
|
| 37 |
modified_text,
|
| 38 |
#num_inference_steps=int(steps),
|
| 39 |
-
guidance_scale=float(cfg_scale),
|
| 40 |
height=int(height),
|
| 41 |
width=int(width),
|
| 42 |
seed=seed if seed != -1 else None
|
|
|
|
| 36 |
result = model(
|
| 37 |
modified_text,
|
| 38 |
#num_inference_steps=int(steps),
|
| 39 |
+
#guidance_scale=float(cfg_scale),
|
| 40 |
height=int(height),
|
| 41 |
width=int(width),
|
| 42 |
seed=seed if seed != -1 else None
|