This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import openai | |
from dotenv import load_dotenv | |
def generate_logo_description(domain, name, description): | |
load_dotenv() | |
openai.api_key = os.getenv("OPENAI_API_KEY") | |
if not openai.api_key: | |
raise ValueError("Environemnt is not suitable") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import openai | |
import requests | |
from dotenv import load_dotenv | |
def generate_logo(domain, name, description): | |
load_dotenv() | |
openai.api_key = os.getenv("OPENAI_API_KEY") | |
if not openai.api_key: |