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

AttributeError: module 'torch' has no attribute 'Tensor' #85

Open
yu3rich opened this issue Nov 29, 2024 · 0 comments
Open

AttributeError: module 'torch' has no attribute 'Tensor' #85

yu3rich opened this issue Nov 29, 2024 · 0 comments

Comments

@yu3rich
Copy link

yu3rich commented Nov 29, 2024

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:

大佬这个报错怎么回事呢

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

1 participant