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

这个是什么问题呢 #219

Open
999melonseeds opened this issue Oct 30, 2024 · 1 comment
Open

这个是什么问题呢 #219

999melonseeds opened this issue Oct 30, 2024 · 1 comment

Comments

@999melonseeds
Copy link

UnicodeEncodeError: 'gbk' codec can't encode character '\U0001f3ac' in position 0: illegal multibyte sequence
Traceback:
File "D:\miniconda3\envs\videolingo\lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "D:\miniconda3\envs\videolingo\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 590, in code_to_exec
exec(code, module.dict)
File "D:\Code\github\VideoLingo\st.py", line 118, in
main()
File "D:\Code\github\VideoLingo\st.py", line 114, in main
text_processing_section()
File "D:\Code\github\VideoLingo\st.py", line 30, in text_processing_section
process_text()
File "D:\Code\github\VideoLingo\st.py", line 45, in process_text
step2_whisper.transcribe()
File "D:\Code\github\VideoLingo\core\step2_whisper.py", line 23, in transcribe
ts(video_file)
File "D:\Code\github\VideoLingo\core\all_whisper_methods\whisperXapi.py", line 217, in transcribe
audio_file = convert_video_to_audio(video_file)
File "D:\Code\github\VideoLingo\core\all_whisper_methods\whisperXapi.py", line 20, in convert_video_to_audio
print(f"🎬➡️🎵 Converting to audio with FFmpeg ......")

@Huanshere
Copy link
Owner

去掉:“““File "D:\Code\github\VideoLingo\core\all_whisper_methods\whisperXapi.py", line 20, in convert_video_to_audio
print(f"🎬➡️🎵 Converting to audio with FFmpeg ......")””” 这个 print 中的 emoji,尝试运行看看还有没有别的地方会这样报错~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants