Spaces:
Running
Running
File size: 397 Bytes
c2fa877 5dec512 c2fa877 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import os
import logging
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(name)s (%(filename)s): %(message)s",
)
logger = logging.getLogger("audio-books")
ELEVENLABS_API_KEY = os.environ["11LABS_API_KEY"]
AI_ML_API_KEY = os.environ["AIML_API_KEY"]
FILE_SIZE_MAX = 0.5 # in mb
ELEVENLABS_MAX_PARALLEL = 15 # current limitation of available subscription
|