ysharma HF staff commited on
Commit
eb13690
·
1 Parent(s): 77f7a1f
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ def engine(text_input):
16
  #img_intfc = gr.Interface.load("spaces/multimodalart/latentdiffusion", inputs=[gr.inputs.Textbox(default='George'), gr.inputs.Textbox(default='50'), gr.inputs.Textbox(default='256'), gr.inputs.Textbox(default='256'), gr.inputs.Textbox(default='1'), gr.inputs.Textbox(default='10'),],
17
  #outputs=[gr.outputs.Image(type="pil", label="output image"),],
18
  #title="Convert text to image")
19
- img = img_intfc('George')[0]
20
- #img = img_intfc('George','50','256','256','1','10')[0]
21
  #img = img[0]
22
  #inputs=['George',50,256,256,1,10]
23
  #run(prompt, steps, width, height, images, scale)
 
16
  #img_intfc = gr.Interface.load("spaces/multimodalart/latentdiffusion", inputs=[gr.inputs.Textbox(default='George'), gr.inputs.Textbox(default='50'), gr.inputs.Textbox(default='256'), gr.inputs.Textbox(default='256'), gr.inputs.Textbox(default='1'), gr.inputs.Textbox(default='10'),],
17
  #outputs=[gr.outputs.Image(type="pil", label="output image"),],
18
  #title="Convert text to image")
19
+ #img = img_intfc('George')[0]
20
+ img = img_intfc('George','50','256','256','1','10')[0]
21
  #img = img[0]
22
  #inputs=['George',50,256,256,1,10]
23
  #run(prompt, steps, width, height, images, scale)