Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -31,8 +31,8 @@ def engine(text_input):
|
|
31 |
return img #entities, speech, img
|
32 |
|
33 |
#image = gr.outputs.Image(type="pil", label="output image")
|
34 |
-
app = gr.Interface(
|
35 |
-
|
36 |
gr.outputs.Image(type="pil", label="Output"),
|
37 |
#live=True,
|
38 |
#outputs=[#gr.outputs.Textbox(type="auto", label="Text"),gr.outputs.Audio(type="file", label="Speech Answer"),
|
|
|
31 |
return img #entities, speech, img
|
32 |
|
33 |
#image = gr.outputs.Image(type="pil", label="output image")
|
34 |
+
app = gr.Interface(engine,
|
35 |
+
gr.inputs.Textbox(lines=5, label="Input Text"),
|
36 |
gr.outputs.Image(type="pil", label="Output"),
|
37 |
#live=True,
|
38 |
#outputs=[#gr.outputs.Textbox(type="auto", label="Text"),gr.outputs.Audio(type="file", label="Speech Answer"),
|