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

conda环境下,webui运行提示错误,得直接执行audio_slicer_pre.py和short_audio_transcribe_ali.py才可以,希望修复下 #9

Open
olccamy opened this issue Sep 30, 2024 · 1 comment

Comments

@olccamy
Copy link

olccamy commented Sep 30, 2024

09-30 21:32:00 | INFO | webui_dataset.py:90 | Start slicing...
09-30 21:32:00 | INFO | subprocess_utils.py:15 | Running: audio_slicer_pre.py --dataset_path ./raw/ --min_sec 2500 --max_sec 5000 --min_silence_dur_ms 500
['python3', 'audio_slicer_pre.py', '--dataset_path', './raw/', '--min_sec', '2500', '--max_sec', '5000', '--min_silence_dur_ms', '500']
09-30 21:32:00 | ERROR | subprocess_utils.py:26 | Error: audio_slicer_pre.py --dataset_path ./raw/ --min_sec 2500 --max_sec 5000 --min_silence_dur_ms 500

09-30 21:32:10 | INFO | subprocess_utils.py:15 | Running: short_audio_transcribe_ali.py --model_name --language zh --input_file --file_pos
['python3', 'short_audio_transcribe_ali.py', '--model_name', '', '--language', 'zh', '--input_file', '', '--file_pos', '']
09-30 21:32:10 | ERROR | subprocess_utils.py:26 | Error: short_audio_transcribe_ali.py --model_name --language zh --input_file --file_pos

@littlestone0806
Copy link

将common目录下的subprocess_utils.py中的python = "python3"改为
python = sys.executable

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