Spaces:
Running
Running
jhj0517
commited on
Commit
·
3ea3fd0
1
Parent(s):
f01b16a
debug release function
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -196,7 +196,7 @@ class WhisperBase(ABC):
|
|
196 |
except Exception as e:
|
197 |
print(f"Error transcribing file: {e}")
|
198 |
finally:
|
199 |
-
self.release_cuda_memory()
|
200 |
if not files:
|
201 |
self.remove_input_files([file.name for file in files])
|
202 |
|
|
|
196 |
except Exception as e:
|
197 |
print(f"Error transcribing file: {e}")
|
198 |
finally:
|
199 |
+
#self.release_cuda_memory()
|
200 |
if not files:
|
201 |
self.remove_input_files([file.name for file in files])
|
202 |
|