Spaces:
Runtime error
Runtime error
Update modules/text2img.py
Browse files- modules/text2img.py +1 -1
modules/text2img.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# modules/text2img.py
|
2 |
-
from
|
3 |
|
4 |
def generate_image_wrapper(text, neg_prompt, width, height, scheduler, num_steps, num_images, cfg_scale, seed, model, vae):
|
5 |
return generate_image(text, neg_prompt, width, height, scheduler, num_steps, num_images, cfg_scale, seed, model, vae)
|
|
|
1 |
# modules/text2img.py
|
2 |
+
from model import generate_image
|
3 |
|
4 |
def generate_image_wrapper(text, neg_prompt, width, height, scheduler, num_steps, num_images, cfg_scale, seed, model, vae):
|
5 |
return generate_image(text, neg_prompt, width, height, scheduler, num_steps, num_images, cfg_scale, seed, model, vae)
|