You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: tuple.index(x): x not in tuple
Traceback:
File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.dict)
File "/home/main.py", line 128, in
app_runner.run()
File "/home/main.py", line 95, in run
Auto_Fact.app()
File "/home/Auto_Fact.py", line 75, in app
for step_num, step_logs in enumerate(content_engine.makeContent(), start=1):
File "/usr/local/lib/python3.10/dist-packages/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent
self.stepDictcurrentStep
File "/usr/local/lib/python3.10/dist-packages/shortGPT/engine/content_short_engine.py", line 74, in _timeCaptions
whisper_analysis = audio_utils.audioToText(self._db_audio_path)
File "/usr/local/lib/python3.10/dist-packages/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.initial_tokens.insert(0, tokenizer.sot)
What type of browser are you seeing the problem on?
Microsoft Edge
What type of Operating System are you seeing the problem on?
Linux, Windows
Python Version
3.10.11
Application Version
0.13
Expected Behavior
ValueError: tuple.index(x): x not in tuple
Traceback:
File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.dict)
File "/home/main.py", line 128, in
app_runner.run()
File "/home/main.py", line 95, in run
Auto_Fact.app()
File "/home/Auto_Fact.py", line 75, in app
for step_num, step_logs in enumerate(content_engine.makeContent(), start=1):
File "/usr/local/lib/python3.10/dist-packages/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent
self.stepDictcurrentStep
File "/usr/local/lib/python3.10/dist-packages/shortGPT/engine/content_short_engine.py", line 74, in _timeCaptions
whisper_analysis = audio_utils.audioToText(self._db_audio_path)
File "/usr/local/lib/python3.10/dist-packages/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.initial_tokens.insert(0, tokenizer.sot)
Error Message
No response
Code to produce this issue.
No response
Screenshots/Assets/Relevant links
No response
The text was updated successfully, but these errors were encountered:
Same problem
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.
What happened?
ValueError: tuple.index(x): x not in tuple
Traceback:
File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.dict)
File "/home/main.py", line 128, in
app_runner.run()
File "/home/main.py", line 95, in run
Auto_Fact.app()
File "/home/Auto_Fact.py", line 75, in app
for step_num, step_logs in enumerate(content_engine.makeContent(), start=1):
File "/usr/local/lib/python3.10/dist-packages/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent
self.stepDictcurrentStep
File "/usr/local/lib/python3.10/dist-packages/shortGPT/engine/content_short_engine.py", line 74, in _timeCaptions
whisper_analysis = audio_utils.audioToText(self._db_audio_path)
File "/usr/local/lib/python3.10/dist-packages/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.initial_tokens.insert(0, tokenizer.sot)
What type of browser are you seeing the problem on?
Microsoft Edge
What type of Operating System are you seeing the problem on?
Linux, Windows
Python Version
3.10.11
Application Version
0.13
Expected Behavior
ValueError: tuple.index(x): x not in tuple
Traceback:
File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.dict)
File "/home/main.py", line 128, in
app_runner.run()
File "/home/main.py", line 95, in run
Auto_Fact.app()
File "/home/Auto_Fact.py", line 75, in app
for step_num, step_logs in enumerate(content_engine.makeContent(), start=1):
File "/usr/local/lib/python3.10/dist-packages/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent
self.stepDictcurrentStep
File "/usr/local/lib/python3.10/dist-packages/shortGPT/engine/content_short_engine.py", line 74, in _timeCaptions
whisper_analysis = audio_utils.audioToText(self._db_audio_path)
File "/usr/local/lib/python3.10/dist-packages/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.initial_tokens.insert(0, tokenizer.sot)
Error Message
No response
Code to produce this issue.
No response
Screenshots/Assets/Relevant links
No response
The text was updated successfully, but these errors were encountered: