Spaces:
Running
Running
jhj0517
commited on
Commit
·
077519d
1
Parent(s):
f483924
debug decoration
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -199,7 +199,7 @@ class WhisperBase(ABC):
|
|
199 |
if not files:
|
200 |
self.remove_input_files([file.name for file in files])
|
201 |
|
202 |
-
|
203 |
def transcribe_mic(self,
|
204 |
mic_audio: str,
|
205 |
file_format: str,
|
@@ -252,7 +252,7 @@ class WhisperBase(ABC):
|
|
252 |
self.release_cuda_memory()
|
253 |
self.remove_input_files([mic_audio])
|
254 |
|
255 |
-
|
256 |
def transcribe_youtube(self,
|
257 |
youtube_link: str,
|
258 |
file_format: str,
|
|
|
199 |
if not files:
|
200 |
self.remove_input_files([file.name for file in files])
|
201 |
|
202 |
+
#@spaces.GPU(duration=120)
|
203 |
def transcribe_mic(self,
|
204 |
mic_audio: str,
|
205 |
file_format: str,
|
|
|
252 |
self.release_cuda_memory()
|
253 |
self.remove_input_files([mic_audio])
|
254 |
|
255 |
+
#@spaces.GPU(duration=120)
|
256 |
def transcribe_youtube(self,
|
257 |
youtube_link: str,
|
258 |
file_format: str,
|