Spaces:
Running
on
Zero
Running
on
Zero
device updated to cpu
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def asr_transcriber(audio_file):
|
|
18 |
|
19 |
audio_file_wav = audio_converter(audio_file)
|
20 |
|
21 |
-
device_id = "
|
22 |
flash = False
|
23 |
|
24 |
# Initialize the ASR pipeline
|
@@ -58,4 +58,4 @@ with gr.Blocks() as transcriberUI:
|
|
58 |
transcribe = gr.Textbox(label="Transcricao", show_label=True, show_copy_button=True)
|
59 |
inp.upload(asr_transcriber, inp, transcribe)
|
60 |
|
61 |
-
transcriberUI.launch(
|
|
|
18 |
|
19 |
audio_file_wav = audio_converter(audio_file)
|
20 |
|
21 |
+
device_id = "cpu"
|
22 |
flash = False
|
23 |
|
24 |
# Initialize the ASR pipeline
|
|
|
58 |
transcribe = gr.Textbox(label="Transcricao", show_label=True, show_copy_button=True)
|
59 |
inp.upload(asr_transcriber, inp, transcribe)
|
60 |
|
61 |
+
transcriberUI.launch()
|