Spaces:
Sleeping
Sleeping
Fixed the halving precision code
Browse files
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
|