MoneyPrinterTurbo
MoneyPrinterTurbo copied to clipboard
failed to download videos, maybe the network is not available.
2024-04-27 19:52:02.060 | INFO | main:
2024-04-27 19:52:02.061 | INFO | main:
2024-04-27 19:52:02.062 | INFO | app.services.task:start:30 - start task: 68826b02-740d-44a9-a0b5-8fe9e37de87e
2024-04-27 19:52:02.063 | INFO | app.services.task:start:39 -
generating video script
2024-04-27 19:52:02.063 | DEBUG | app.services.task:start:45 - video script: These keys are used to access your Azure AI services API. Do not share your keys. Store them securely– for example, using Azure Key Vault. We also recommend regenerating these keys regularly. Only one key is necessary to make an API call. When regenerating the first key, you can use the second key for continued access to the service.
2024-04-27 19:52:02.064 | INFO | app.services.task:start:49 -
generating video terms
2024-04-27 19:52:02.064 | INFO | app.services.llm:generate_terms:275 - subject:
2024-04-27 19:52:02.065 | DEBUG | app.services.llm:generate_terms:276 - prompt:
Role: Video Search Terms Generator
Goals:
Generate 5 search terms for stock videos, depending on the subject of a video.
Constrains:
- the search terms are to be returned as a json-array of strings.
- each search term should consist of 1-3 words, always add the main subject of the video.
- you must only return the json-array of strings. you must not return anything else. you must not return the script.
- the search terms must be related to the subject of the video.
- reply with english search terms only.
Output Example:
["search term 1", "search term 2", "search term 3","search term 4","search term 5"]
Context:
Video Subject
Video Script
These keys are used to access your Azure AI services API. Do not share your keys. Store them securely– for example, using Azure Key Vault. We also recommend regenerating these keys regularly. Only one key is necessary to make an API call. When regenerating the first key, you can use the second key for continued access to the service.
Please note that you must use English for generating video search terms; Chinese is not accepted.
2024-04-27 19:52:02.065 | INFO | app.services.llm:_generate_response:16 - llm provider: moonshot
2024-04-27 19:52:04.133 | SUCCESS | app.services.llm:generate_terms:296 - completed: []
2024-04-27 19:52:04.136 | INFO | app.services.task:start:75 -
generating audio
2024-04-27 19:52:04.137 | INFO | app.services.voice:azure_tts_v2:1088 - start, voice name: zh-CN-XiaoxiaoMultilingualNeural, try: 1
2024-04-27 19:52:07.751 | SUCCESS | app.services.voice:azure_tts_v2:1128 - azure v2 speech synthesis succeeded: .\storage\tasks\68826b02-740d-44a9-a0b5-8fe9e37de87e\audio.mp3
2024-04-27 19:52:07.998 | INFO | app.services.task:start:93 -
generating subtitle, provider: edge
2024-04-27 19:52:08.001 | INFO | app.services.voice:create_subtitle:1232 - completed, subtitle file created: .\storage\tasks\68826b02-740d-44a9-a0b5-8fe9e37de87e\subtitle.srt, duration: 22.4
2024-04-27 19:52:08.002 | INFO | app.services.task:start:113 -
downloading videos
2024-04-27 19:52:08.002 | INFO | app.services.material:download_videos:148 - found total videos: 0, required duration: 23 seconds, found duration: 0.0 seconds
2024-04-27 19:52:08.003 | SUCCESS | app.services.material:download_videos:176 - downloaded 0 videos
2024-04-27 19:52:08.004 | ERROR | app.services.task:start:123 - failed to download videos, maybe the network is not available. if you are in China, please use a VPN.
但是实际上换了vpn还是无法处理
AttributeError: 'NoneType' object has no attribute 'get'
Traceback:
File "D:\software\MoneyPrinterTurbo\lib\python\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script
exec(code, module.dict)
File "D:\software\MoneyPrinterTurbo\MoneyPrinterTurbo\webui\Main.py", line 437, in
2024-04-27 19:52:04.133 | SUCCESS | app.services.llm:generate_terms:296 - completed:
[]
moonshot大模型,没有返回正确的数据,请检查下moonshot的配置是否正确