Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,19 +20,13 @@ def populate_metadata(link):
|
|
20 |
|
21 |
with gr.Blocks() as demo:
|
22 |
|
23 |
-
gr.Markdown("Whisper
|
24 |
with gr.Row():
|
25 |
with gr.TabItem("Record from Microphone"):
|
26 |
record_file = gr.Audio(source="microphone", type="filepath",label="Record from microphone")
|
27 |
record_button = gr.Button("Submit")
|
28 |
-
record_outputs = [gr.Textbox(label="
|
29 |
-
|
30 |
-
with gr.TabItem("Transcribe from youtube URL"):
|
31 |
-
url = gr.Text(max_lines=1, label="Transcribe from youtube URL")
|
32 |
-
youtube_button = gr.Button("Submit")
|
33 |
-
youtube_outputs = [
|
34 |
-
gr.Textbox(label="Recognized speech from youtube URL")
|
35 |
-
] """
|
36 |
with gr.Row().style(equal_height=True):
|
37 |
link = gr.Textbox(label="YouTube Link")
|
38 |
title = gr.Label(label="Video Title")
|
|
|
20 |
|
21 |
with gr.Blocks() as demo:
|
22 |
|
23 |
+
gr.Markdown("Whisper Small Swedish")
|
24 |
with gr.Row():
|
25 |
with gr.TabItem("Record from Microphone"):
|
26 |
record_file = gr.Audio(source="microphone", type="filepath",label="Record from microphone")
|
27 |
record_button = gr.Button("Submit")
|
28 |
+
record_outputs = [gr.Textbox(label="Transcription from Microphone"),]
|
29 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
with gr.Row().style(equal_height=True):
|
31 |
link = gr.Textbox(label="YouTube Link")
|
32 |
title = gr.Label(label="Video Title")
|