betheredge commited on
Commit
6e1ad86
·
1 Parent(s): 33f40c8

Fixing devices.

Browse files
Files changed (1) hide show
  1. src/app.py +1 -1
src/app.py CHANGED
@@ -18,7 +18,7 @@ pipe = pipeline(
18
  model="facebook/wav2vec2-large-960h",
19
  chunk_length_s=180,
20
  stride_length_s=30,
21
- device=0)
22
 
23
  def translate(audio_file):
24
  x = pipe(audio_file)
 
18
  model="facebook/wav2vec2-large-960h",
19
  chunk_length_s=180,
20
  stride_length_s=30,
21
+ )
22
 
23
  def translate(audio_file):
24
  x = pipe(audio_file)