mirror of
https://github.com/FujiwaraChoki/MoneyPrinterV2.git
synced 2026-04-26 06:35:51 +03:00
[GH-ISSUE #7] ValueError: Please provide an API key via the ASSEMBLYAI_API_KEY environment variable or the global settings. #1
Labels
No labels
bug
enhancement
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/MoneyPrinterV2#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Heeytch on GitHub (Feb 18, 2024).
Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/7
✅ => Chose song: 1-minute-of-silence.zip
Traceback (most recent call last):
File "C:\Users\highm\Desktop\MoneyPrinterV2-main\src\main.py", line 362, in
main()
File "C:\Users\highm\Desktop\MoneyPrinterV2-main\src\main.py", line 101, in main
youtube.generate_video(tts)
File "C:\Users\highm\Desktop\MoneyPrinterV2-main\src\classes\YouTube.py", line 530, in generate_video
path = self.combine()
File "C:\Users\highm\Desktop\MoneyPrinterV2-main\src\classes\YouTube.py", line 468, in combine
subtitles_path = self.generate_subtitles(self.tts_path)
File "C:\Users\highm\Desktop\MoneyPrinterV2-main\src\classes\YouTube.py", line 397, in generate_subtitles
transcriber = aai.Transcriber(config=config)
File "C:\Users\highm\Desktop\MoneyPrinterV2-main\venv\lib\site-packages\assemblyai\transcriber.py", line 823, in init
self._client = client or _client.Client.get_default()
File "C:\Users\highm\Desktop\MoneyPrinterV2-main\venv\lib\site-packages\assemblyai\client.py", line 88, in get_default
cls._default = cls(
File "C:\Users\highm\Desktop\MoneyPrinterV2-main\venv\lib\site-packages\assemblyai\client.py", line 32, in init
raise ValueError(
ValueError: Please provide an API key via the ASSEMBLYAI_API_KEY environment variable or the global settings.
@FujiwaraChoki commented on GitHub (Feb 18, 2024):
Fill out values in example config.