ShortGPT
ShortGPT copied to clipboard
❓ [Question]: ERROR : Valueerror : tuple.index(x): x not in tuple
Your Question
ERROR : Valueerror : tuple.index(x): x not in tuple Traceback Info : File "/content/ShortGPT/gui/ui_tab_short_automation.py", line 103, in create_short for step_num, step_info in shortEngine.makeContent(): File "/content/ShortGPT/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent self.stepDictcurrentStep File "/content/ShortGPT/shortGPT/engine/content_short_engine.py", line 74, in _timeCaptions whisper_analysis = audio_utils.audioToText(self._db_audio_path) File "/content/ShortGPT/shortGPT/audio/audio_utils.py", line 69, in audioToText gen = transcribe_timestamped(WHISPER_MODEL, filename, verbose=False, fp16=False) File "/usr/local/lib/python3.10/dist-packages/whisper_timestamped/transcribe.py", line 266, in transcribe_timestamped (transcription, words) = _transcribe_timestamped_efficient(model, audio, File "/usr/local/lib/python3.10/dist-packages/whisper_timestamped/transcribe.py", line 339, in _transcribe_timestamped_efficient logit_filters = get_logit_filters(model, whisper_options) File "/usr/local/lib/python3.10/dist-packages/whisper_timestamped/transcribe.py", line 1252, in get_logit_filters decoding_task = whisper.decoding.DecodingTask(model, decoding_options) File "/usr/local/lib/python3.10/dist-packages/whisper/decoding.py", line 522, in init self.sot_index: int = self.initial_tokens.index(tokenizer.sot)
If the problem persists, don't hesitate to contact our support. We're here to assist you.