Spaces:
Sleeping
Sleeping
jbatista79
commited on
Commit
•
07f1efd
1
Parent(s):
d98c77e
Update app.py
Browse files
app.py
CHANGED
@@ -15,15 +15,13 @@ iface = gr.Interface(
|
|
15 |
title="Whisper Small Basque - Euskara (EU)",
|
16 |
description="Realtime proof-of-concept demo for Basque speech recognition using a fine-tuned Whisper small model. Created by Josué R. Batista - 2024-01-13",
|
17 |
)
|
18 |
-
|
19 |
iface.launch(share=True)
|
20 |
'''
|
21 |
|
22 |
with gr.Blocks() as app:
|
23 |
with gr.Row():
|
24 |
with gr.Column():
|
25 |
-
gr.Image(value="lion-face-outline-cut-hi-strategia-black-strategia01-300x77.png", width=
|
26 |
-
margin="auto" # Adjust width as needed
|
27 |
with gr.Column():
|
28 |
gr.Markdown("## Whisper Small Basque - Euskara (EU)")
|
29 |
gr.Markdown("Realtime proof-of-concept demo for Basque speech recognition using a fine-tuned Whisper small model. Created by Josué R. Batista - 2024-01-13")
|
@@ -32,4 +30,5 @@ with gr.Blocks() as app:
|
|
32 |
output_text = gr.Textbox()
|
33 |
gr.Button("Transcribe").click(fn=transcribe, inputs=audio_input, outputs=output_text)
|
34 |
|
35 |
-
app.launch(share=True)
|
|
|
|
15 |
title="Whisper Small Basque - Euskara (EU)",
|
16 |
description="Realtime proof-of-concept demo for Basque speech recognition using a fine-tuned Whisper small model. Created by Josué R. Batista - 2024-01-13",
|
17 |
)
|
|
|
18 |
iface.launch(share=True)
|
19 |
'''
|
20 |
|
21 |
with gr.Blocks() as app:
|
22 |
with gr.Row():
|
23 |
with gr.Column():
|
24 |
+
gr.Image(value="lion-face-outline-cut-hi-strategia-black-strategia01-300x77.png", width=300, show_label=False, show_download_button=False) # Adjust width as needed
|
|
|
25 |
with gr.Column():
|
26 |
gr.Markdown("## Whisper Small Basque - Euskara (EU)")
|
27 |
gr.Markdown("Realtime proof-of-concept demo for Basque speech recognition using a fine-tuned Whisper small model. Created by Josué R. Batista - 2024-01-13")
|
|
|
30 |
output_text = gr.Textbox()
|
31 |
gr.Button("Transcribe").click(fn=transcribe, inputs=audio_input, outputs=output_text)
|
32 |
|
33 |
+
app.launch(share=True)
|
34 |
+
#app.launch()
|