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

🐛 [Bug]: Error when automating the creation of shorts #153

Open
tomasalias opened this issue Feb 12, 2025 · 2 comments
Open

🐛 [Bug]: Error when automating the creation of shorts #153

tomasalias opened this issue Feb 12, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@tomasalias
Copy link

What happened?

I've provided all the API keys.

Image

Image

What type of browser are you seeing the problem on?

Chrome

What type of Operating System are you seeing the problem on?

Windows

Python Version

Python 3.12.3

Application Version

v0.3.0

Expected Behavior

I expected to get my shorts.

Error Message

12 Current step (12 / 12) : _addYoutubeMetadata 11
Step 12 _addYoutubeMetadata
Error communicating with OpenAI: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}]
Error communicating with OpenAI: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}]
Error communicating with OpenAI: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}]
Error communicating with OpenAI: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}]
Error communicating with OpenAI: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}]
Error communicating with OpenAI: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}]
Error communicating with OpenAI: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}]
Error communicating with OpenAI: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}]
Error communicating with OpenAI: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}]
Error   File "/app/gui/ui_tab_short_automation.py", line 102, in create_short
    for step_num, step_info in shortEngine.makeContent():
  File "/app/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent
    self.stepDict[currentStep]()
  File "/app/shortGPT/engine/content_short_engine.py", line 159, in _addYoutubeMetadata
    self._db_yt_title, self._db_yt_description = gpt_yt.generate_title_description_dict(self._db_script)
  File "/app/shortGPT/gpt/gpt_yt.py", line 10, in generate_title_description_dict
    result = gpt_utils.llm_completion(chat_prompt=chat, system=system, temp=1)
  File "/app/shortGPT/gpt/gpt_utils.py", line 119, in llm_completion
    raise Exception(f"Error communicating with LLM Endpoint Completion errored more than error: {error}")

Code to produce this issue.

Screenshots/Assets/Relevant links

No response

@tomasalias tomasalias added the bug Something isn't working label Feb 12, 2025
@BigChoi-KR
Copy link

Same here.

@Evgenykravchenko
Copy link

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants