DamarJati commited on
Commit
c711ad3
·
verified ·
1 Parent(s): bc2fb74

Update modules/text2img.py

Browse files
Files changed (1) hide show
  1. modules/text2img.py +6 -0
modules/text2img.py CHANGED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # modules/text2img.py
2
+ from modules.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)
6
+