Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -12,8 +12,8 @@ def engine(text_input):
|
|
12 |
entities = [tupl for tupl in entities if None not in tupl]
|
13 |
entities_num = len(entities)
|
14 |
|
15 |
-
img_intfc = gr.Interface.load("spaces/multimodalart/latentdiffusion")
|
16 |
-
|
17 |
#outputs=[gr.outputs.Image(type="pil", label="output image"),],
|
18 |
#title="Convert text to image")
|
19 |
#img = img_intfc('George')[0]
|
|
|
12 |
entities = [tupl for tupl in entities if None not in tupl]
|
13 |
entities_num = len(entities)
|
14 |
|
15 |
+
#img_intfc = gr.Interface.load("spaces/multimodalart/latentdiffusion")
|
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"),],
|
18 |
#title="Convert text to image")
|
19 |
#img = img_intfc('George')[0]
|