Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -16,8 +16,8 @@ def engine(text_input):
|
|
16 |
img_intfc = gr.Interface.load("spaces/multimodalart/latentdiffusion", inputs=[gr.inputs.Textbox(lines=1, label="Input Text"), gr.inputs.Textbox(lines=1, label="Input Text"), gr.inputs.Textbox(lines=1, label="Input Text"), gr.inputs.Textbox(lines=1, label="Input Text"), gr.inputs.Textbox(lines=1, label="Input Text"), gr.inputs.Textbox(lines=1, label="Input Text")],
|
17 |
outputs=[gr.outputs.Image(type="pil", label="output image"),gr.outputs.Carousel(label="Individual images",components=["image"]),gr.outputs.Textbox(label="Error")], )
|
18 |
#title="Convert text to image")
|
19 |
-
img = img_intfc[0]
|
20 |
-
|
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(lines=1, label="Input Text"), gr.inputs.Textbox(lines=1, label="Input Text"), gr.inputs.Textbox(lines=1, label="Input Text"), gr.inputs.Textbox(lines=1, label="Input Text"), gr.inputs.Textbox(lines=1, label="Input Text"), gr.inputs.Textbox(lines=1, label="Input Text")],
|
17 |
outputs=[gr.outputs.Image(type="pil", label="output image"),gr.outputs.Carousel(label="Individual images",components=["image"]),gr.outputs.Textbox(label="Error")], )
|
18 |
#title="Convert text to image")
|
19 |
+
#img = img_intfc[0]
|
20 |
+
img = img_intfc(inputs=['George','50','256','256','1','10'])
|
21 |
img = img[0]
|
22 |
#inputs=['George',50,256,256,1,10]
|
23 |
#run(prompt, steps, width, height, images, scale)
|