Spaces:
No application file
No application file
"""Template for custom function or Pydantic model.""" | |
import os | |
def get_key() -> str: | |
"""Get the key from environment variable.""" | |
return os.environ.get("OPENAI_API_KEY", "") | |