avfranco commited on
Commit
29bffbf
1 Parent(s): c5617e8

device updated to cpu

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = "mps"
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(share=True)
 
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()