Spaces:
Runtime error
Runtime error
Campfireman
commited on
Commit
•
4835123
1
Parent(s):
6e983a6
Update app.py
Browse files
app.py
CHANGED
@@ -70,5 +70,12 @@ def extrator_pipeline(url):
|
|
70 |
temp_audio_addr = extract_audio()
|
71 |
return notify
|
72 |
|
73 |
-
demo = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
demo.launch()
|
|
|
70 |
temp_audio_addr = extract_audio()
|
71 |
return notify
|
72 |
|
73 |
+
demo = gr.Interface(
|
74 |
+
fn=extrator_pipeline,
|
75 |
+
inputs="text",
|
76 |
+
outputs=gr.Audio(source = "upload"),
|
77 |
+
examples=[
|
78 |
+
[os.path.join(os.path.dirname(__file__),temp_audio_addr)]
|
79 |
+
],
|
80 |
+
)
|
81 |
demo.launch()
|