Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def translate(hin_snippet):
|
|
21 |
|
22 |
model_id = "CompVis/ldm-text2im-large-256"
|
23 |
ldm = DiffusionPipeline.from_pretrained(model_id)
|
24 |
-
images = ldm([translated], num_inference_steps=
|
25 |
return images
|
26 |
|
27 |
|
|
|
21 |
|
22 |
model_id = "CompVis/ldm-text2im-large-256"
|
23 |
ldm = DiffusionPipeline.from_pretrained(model_id)
|
24 |
+
images = ldm([translated], num_inference_steps=50, eta=0.3, guidance_scale=6)["sample"]
|
25 |
return images
|
26 |
|
27 |
|