Spaces:
Sleeping
Sleeping
File size: 592 Bytes
c14d84c a46fd4b c14d84c a46fd4b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
from dotenv import load_dotenv
import os
load_dotenv()
HF_TOKEN = os.getenv("HF_TOKEN", None)
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY")
AUDIO_CONVERTER_ENDPOINT="https://audio-converter-api-587c.onrender.com/convert/mp3"
TRANSLATION_ENDPOINT="https://habib926653-text-translator-agent-api.hf.space/generate"
PROMPT_GENERATION_ENDPOINT="https://habib926653-text-translator-agent-api.hf.space/get-image-prompts"
IMAGE_GENERATION_SPACE_NAME="habib926653/stabilityai-stable-diffusion-3.5-large-turbo"
# Supported formats
SUPPORTED_FORMATS = ["mp3", "wav", "ogg", "flac", "aac", "m4a"]
|