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
AttributeError: module 'torch' has no attribute 'Tensor'
Traceback:
File "D:\ai-py\MoneyPrinterPlus-windows\venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "D:\ai-py\MoneyPrinterPlus-windows\pages\02_mix_video.py", line 30, in
from main import main_generate_ai_video_for_mix, main_try_test_audio, get_audio_voices, main_try_test_local_audio
File "D:\ai-py\MoneyPrinterPlus-windows\main.py", line 31, in
from services.audio.chattts_service import ChatTTSAudioService
File "D:\ai-py\MoneyPrinterPlus-windows\services\audio\chattts_service.py", line 55, in
def encode_spk_emb(spk_emb: torch.Tensor) -> str:
大佬这个报错怎么回事呢
The text was updated successfully, but these errors were encountered:
AttributeError: module 'torch' has no attribute 'Tensor'
Traceback:
File "D:\ai-py\MoneyPrinterPlus-windows\venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "D:\ai-py\MoneyPrinterPlus-windows\pages\02_mix_video.py", line 30, in
from main import main_generate_ai_video_for_mix, main_try_test_audio, get_audio_voices, main_try_test_local_audio
File "D:\ai-py\MoneyPrinterPlus-windows\main.py", line 31, in
from services.audio.chattts_service import ChatTTSAudioService
File "D:\ai-py\MoneyPrinterPlus-windows\services\audio\chattts_service.py", line 55, in
def encode_spk_emb(spk_emb: torch.Tensor) -> str:
大佬这个报错怎么回事呢
The text was updated successfully, but these errors were encountered: