Spaces:
Running
Running
Fix app.py
Browse files
app.py
CHANGED
|
@@ -71,15 +71,14 @@ def greet(audio, image):
|
|
| 71 |
return overlaid_image
|
| 72 |
|
| 73 |
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
demo.launch()
|
|
|
|
| 71 |
return overlaid_image
|
| 72 |
|
| 73 |
|
| 74 |
+
description = 'hello world'
|
| 75 |
+
|
| 76 |
+
demo = gr.Interface(
|
| 77 |
+
fn=greet,
|
| 78 |
+
inputs=[gr.Image(type='pil'), gr.Audio()],
|
| 79 |
+
outputs=gr.Image(type="pil"),
|
| 80 |
+
title='AudioToken',
|
| 81 |
+
description=description,
|
| 82 |
+
)
|
| 83 |
+
|
| 84 |
+
demo.launch(debug=True)
|
|
|