feat: Agrega primera version de template (revisar archivo de documentacion - docs.md)
This commit is contained in:
BIN
app/core/__pycache__/config.cpython-312.pyc
Normal file
BIN
app/core/__pycache__/config.cpython-312.pyc
Normal file
Binary file not shown.
26
app/core/config.py
Normal file
26
app/core/config.py
Normal file
@@ -0,0 +1,26 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
|
||||
class Settings:
|
||||
# Configuración para las claves de API de los proveedores de IA
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Proveedores de Audio
|
||||
# ---------------------------------------------------------------
|
||||
# OpenAI
|
||||
OPENAI_API_KEY: str = os.getenv("OPENAI_API_KEY", "")
|
||||
|
||||
#AssemblyAI
|
||||
ASSEMBLYAI_API_KEY: str = os.getenv("ASSEMBLYAI_API_KEY", "")
|
||||
|
||||
# Deepgram
|
||||
DEEPGRAM_API_KEY: str = os.getenv("DEEPGRAM_API_KEY", "")
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Proveedores de Imagen
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user