Spaces:
Runtime error
Runtime error
SajjadAyoubi
commited on
Commit
•
0f7f59b
1
Parent(s):
0c76638
Update app.py
Browse files
app.py
CHANGED
@@ -35,10 +35,8 @@ s2t = Speech2Text()
|
|
35 |
def asr(path):
|
36 |
return s2t(path)
|
37 |
|
38 |
-
# themes="default", "huggingface", "seafoam", "grass", "peach"
|
39 |
gr.Interface(asr,
|
40 |
inputs = gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="Record Your Beautiful Persian Voice"),
|
41 |
outputs = gr.outputs.Textbox(label="Output Text"),
|
42 |
-
title="Persian ASR using Wav2Vec 2.0",
|
43 |
-
description = "This
|
44 |
-
examples = [["example.wav"]], theme="huggingface").launch()
|
|
|
35 |
def asr(path):
|
36 |
return s2t(path)
|
37 |
|
|
|
38 |
gr.Interface(asr,
|
39 |
inputs = gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="Record Your Beautiful Persian Voice"),
|
40 |
outputs = gr.outputs.Textbox(label="Output Text"),
|
41 |
+
title="Persian ASR using Wav2Vec 2.0 & N-gram LM",
|
42 |
+
description = "This is a Persian Speech to Text", theme="huggingface").launch()
|
|