MagicFaceTG / config.py
rastof9's picture
Update Gradio app with multiple files
e6c006b verified
raw
history blame contribute delete
773 Bytes
# config.py
import os
# --- TELEGRAM BOT TOKEN ---
# Get your token from @BotFather on Telegram
TELEGRAM_TOKEN = os.environ.get("TELEGRAM_TOKEN", "8487974026:AAEDJFNKSVvmkkPtod222GhSeIFyFxnd_vw")
# --- SUPABASE DATABASE CREDENTIALS ---
# Get these from your Supabase project's API settings
SUPABASE_URL = os.environ.get("SUPABASE_URL", "https://bvpfxnklsrolhsyjieqr.supabase.co")
SUPABASE_KEY = os.environ.get("SUPABASE_KEY", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImJ2cGZ4bmtsc3JvbGhzeWppZXFyIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTQ3NzYxMjcsImV4cCI6MjA3MDM1MjEyN30.b0gM5BP0555Zf3iQ7OBe3SZOLsSZtospnWxyNFqg6fY")
# --- SUPABASE STORAGE ---
# The name of the public bucket you created for storing images
SUPABASE_BUCKET_NAME = "generated-images"