Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

❓ [Question]: ERROR : Valueerror : tuple.index(x): x not in tuple #116

Open
merolaika opened this issue Nov 16, 2023 · 0 comments
Open
Labels
question Further information is requested

Comments

@merolaika
Copy link

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.

@merolaika merolaika added the question Further information is requested label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant