Spaces:
Runtime error
Runtime error
laizeqiang
commited on
Commit
·
8d91ae4
1
Parent(s):
609538a
update
Browse files
app.py
CHANGED
|
@@ -12,12 +12,12 @@ with gr.Blocks() as demo:
|
|
| 12 |
<p align="center"><a href="https://github.com/Zeqiang-Lai/Anything2Image"><b>https://github.com/Zeqiang-Lai/Anything2Image</b></p>
|
| 13 |
""")
|
| 14 |
gr.Interface(fn=anything2img,
|
| 15 |
-
inputs=[
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
],
|
| 20 |
-
outputs=
|
| 21 |
examples=[['', 'assets/wav/dog_audio.wav', None, None],
|
| 22 |
['A painting', 'assets/wav/cat.wav', None, None],
|
| 23 |
['', 'assets/wav/wave.wav', 'assets/image/bird.png', None],
|
|
|
|
| 12 |
<p align="center"><a href="https://github.com/Zeqiang-Lai/Anything2Image"><b>https://github.com/Zeqiang-Lai/Anything2Image</b></p>
|
| 13 |
""")
|
| 14 |
gr.Interface(fn=anything2img,
|
| 15 |
+
inputs=["text",
|
| 16 |
+
"audio",
|
| 17 |
+
"image",
|
| 18 |
+
"text",
|
| 19 |
],
|
| 20 |
+
outputs="text",
|
| 21 |
examples=[['', 'assets/wav/dog_audio.wav', None, None],
|
| 22 |
['A painting', 'assets/wav/cat.wav', None, None],
|
| 23 |
['', 'assets/wav/wave.wav', 'assets/image/bird.png', None],
|