Spaces:
anvarazizov
/
Runtime error

vineelpratap commited on
Commit
1b7f5da
1 Parent(s): 6f53272

Update asr.py

Browse files
Files changed (1) hide show
  1. asr.py +1 -1
asr.py CHANGED
@@ -107,7 +107,7 @@ def transcribe(
107
  with torch.no_grad():
108
  outputs = model(**inputs).logits
109
 
110
- if lang_code != "eng" and False:
111
  ids = torch.argmax(outputs, dim=-1)[0]
112
  transcription = processor.decode(ids)
113
  else:
 
107
  with torch.no_grad():
108
  outputs = model(**inputs).logits
109
 
110
+ if lang_code != "eng" or True:
111
  ids = torch.argmax(outputs, dim=-1)[0]
112
  transcription = processor.decode(ids)
113
  else: