Spaces:
Running
Running
jhj0517
commited on
Commit
·
ea1f078
1
Parent(s):
b865fea
debug duplicated decoration for abstract class
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -42,7 +42,7 @@ class WhisperBase(ABC):
|
|
42 |
self.vad = SileroVAD()
|
43 |
|
44 |
@abstractmethod
|
45 |
-
|
46 |
def transcribe(self,
|
47 |
audio: Union[str, BinaryIO, np.ndarray],
|
48 |
*whisper_params,
|
|
|
42 |
self.vad = SileroVAD()
|
43 |
|
44 |
@abstractmethod
|
45 |
+
#@spaces.GPU(duration=120)
|
46 |
def transcribe(self,
|
47 |
audio: Union[str, BinaryIO, np.ndarray],
|
48 |
*whisper_params,
|