Spaces:
Running
on
Zero
Running
on
Zero
space hardware upgraded to CPU Upgrade
Browse files
app.py
CHANGED
@@ -13,7 +13,6 @@ def audio_converter(audio_file:str):
|
|
13 |
def asr_transcriber(audio_file):
|
14 |
from transformers import pipeline
|
15 |
import torch
|
16 |
-
import optimum
|
17 |
|
18 |
audio_file_wav = audio_converter(audio_file)
|
19 |
|
@@ -66,7 +65,7 @@ with gr.Blocks() as transcriberUI:
|
|
66 |
"""
|
67 |
# Ola Xara & Solange!
|
68 |
Clicar no botao abaixo para selecionar o Audio a ser transcrito!
|
69 |
-
Ambiente Demo disponivel 24x7. Running on CPU
|
70 |
""")
|
71 |
inp = gr.File(label="Arquivo de Audio", show_label=True, file_count="single", file_types=["m4a"])
|
72 |
transcribe = gr.Textbox(label="Transcricao", show_label=True, show_copy_button=True)
|
|
|
13 |
def asr_transcriber(audio_file):
|
14 |
from transformers import pipeline
|
15 |
import torch
|
|
|
16 |
|
17 |
audio_file_wav = audio_converter(audio_file)
|
18 |
|
|
|
65 |
"""
|
66 |
# Ola Xara & Solange!
|
67 |
Clicar no botao abaixo para selecionar o Audio a ser transcrito!
|
68 |
+
Ambiente Demo disponivel 24x7. Running on CPU Upgrade with openai/whisper-tiny
|
69 |
""")
|
70 |
inp = gr.File(label="Arquivo de Audio", show_label=True, file_count="single", file_types=["m4a"])
|
71 |
transcribe = gr.Textbox(label="Transcricao", show_label=True, show_copy_button=True)
|