Spaces:
Build error
Build error
Download app.py from oussdab/calendria_second: direct link, hf CLI and curl.
- Browser
- Download file 357 Bytes
-
https://huggingface.co/spaces/oussdab/calendria_second/resolve/main/app.py
- Command line
-
hf download hf://spaces/oussdab/calendria_second/app.py
-
curl -L -o app.py https://huggingface.co/spaces/oussdab/calendria_second/resolve/main/app.py
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.") | |