Spaces:
Sleeping
Sleeping
Commit
·
1e796ab
1
Parent(s):
5023498
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from gradio.mix import Parallel, Series
|
|
11 |
# Load Interfaces:
|
12 |
s2t = gr.Interface.load('huggingface/facebook/s2t-medium-librispeech-asr')
|
13 |
grammar = gr.Interface.load('huggingface/prithivida/grammar_error_correcter_v1')
|
14 |
-
sum_it = gr.Interface.load('
|
15 |
|
16 |
# Audio Functions:
|
17 |
def out(audio):
|
@@ -32,7 +32,7 @@ iface = gr.Interface(
|
|
32 |
title="Speech Audio to text (with corrected grammar)",
|
33 |
description="Let's Hear It!! This app transforms your speech (input) to text with corrected grammar after (output)!",
|
34 |
inputs=[gr.inputs.Audio(source="microphone", type="filepath", label=None, optional=True)],
|
35 |
-
outputs=['text'
|
36 |
)
|
37 |
# From Original Code:
|
38 |
# gr.inputs.Audio(source="upload", type="filepath", label=None, optional=True),
|
|
|
11 |
# Load Interfaces:
|
12 |
s2t = gr.Interface.load('huggingface/facebook/s2t-medium-librispeech-asr')
|
13 |
grammar = gr.Interface.load('huggingface/prithivida/grammar_error_correcter_v1')
|
14 |
+
sum_it = gr.Interface.load(' SamuelMiller/sum_it')
|
15 |
|
16 |
# Audio Functions:
|
17 |
def out(audio):
|
|
|
32 |
title="Speech Audio to text (with corrected grammar)",
|
33 |
description="Let's Hear It!! This app transforms your speech (input) to text with corrected grammar after (output)!",
|
34 |
inputs=[gr.inputs.Audio(source="microphone", type="filepath", label=None, optional=True)],
|
35 |
+
outputs=['text'] #,'text'
|
36 |
)
|
37 |
# From Original Code:
|
38 |
# gr.inputs.Audio(source="upload", type="filepath", label=None, optional=True),
|