Oussama DABACHIL
kk
e98dfc2
Raw History Blame Contribute Delete
357 Bytes
import streamlit as st
import os
from dotenv import load_dotenv
# Charger les variables d'environnement
os.system("pip install python-dotenv")
load_dotenv()
# Exemple : clé API
api_token = os.getenv("API_TOKEN")
st.title("Streamkit")
st.write("Bienvenue sur Streamkit!")
st.write("Clé API chargée : ", api_token if api_token else "Non configurée.")