Spaces:
Runtime error
Runtime error
Commit
·
37f4d75
1
Parent(s):
78d4260
Rename app (2).py to app.py
Browse files- app (2).py → app.py +4 -4
app (2).py → app.py
RENAMED
@@ -11,16 +11,16 @@ def speech_to_text(tmp_filename, uploaded, model_size):
|
|
11 |
|
12 |
gr.Interface(
|
13 |
|
14 |
-
title="
|
15 |
-
thumbnail="
|
16 |
css="""
|
|
|
17 |
.gr-prose p{text-align: center;}
|
18 |
.gr-button {background: black;color: white}
|
19 |
""",
|
20 |
-
description="
|
21 |
fn=speech_to_text,
|
22 |
inputs=[
|
23 |
-
gr.Audio(label="Record your voice on your mic",source="microphone", type="filepath"),
|
24 |
gr.Audio(source="upload", type="filepath", label="Upload Audio"),
|
25 |
gr.Dropdown(label="Select model size",value="base",choices=["tiny", "base", "small", "medium", "large"])],
|
26 |
outputs="text").launch()
|
|
|
11 |
|
12 |
gr.Interface(
|
13 |
|
14 |
+
title="",
|
15 |
+
thumbnail="",
|
16 |
css="""
|
17 |
+
footer {visibility: hidden}
|
18 |
.gr-prose p{text-align: center;}
|
19 |
.gr-button {background: black;color: white}
|
20 |
""",
|
21 |
+
description="",
|
22 |
fn=speech_to_text,
|
23 |
inputs=[
|
|
|
24 |
gr.Audio(source="upload", type="filepath", label="Upload Audio"),
|
25 |
gr.Dropdown(label="Select model size",value="base",choices=["tiny", "base", "small", "medium", "large"])],
|
26 |
outputs="text").launch()
|