jlonsako commited on
Commit
4208212
1 Parent(s): 4e9010c

Fixed the halving precision code

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,8 +43,8 @@ def Transcribe(file):
43
  hop_length=16000
44
  )
45
 
 
46
  model.to(device)
47
- model.half()
48
  print(f"Model loaded to {device}: Entering transcription phase")
49
 
50
  #Code for timestamping
 
43
  hop_length=16000
44
  )
45
 
46
+ model = model.half()
47
  model.to(device)
 
48
  print(f"Model loaded to {device}: Entering transcription phase")
49
 
50
  #Code for timestamping