QuantLib_Pro / HF_DEPLOY.md
gdukens's picture
Initial HF Space deploy bundle
72fc0ee
|
Raw History Blame Contribute Delete
809 Bytes

A newer version of the Streamlit SDK is available: 1.67.0

Upgrade

Hugging Face Space Deploy Steps

1) Initialize repo in this folder

git init
git add .
git commit -m "Initial HF Space deploy"
git branch -M main

2) Connect to your Space Git remote

Replace YOUR_SPACE_GIT_URL with the URL shown in your Space (Clone button).

git remote add origin YOUR_SPACE_GIT_URL
git push -u origin main

3) Configure Space secrets

In Space Settings -> Variables and secrets, add:

  • FRED_API_KEY
  • ALPHA_VANTAGE_API_KEY

4) Verify build logs

Open your Space logs and confirm:

  • dependencies install successfully
  • Streamlit starts successfully
  • app loads without import errors

Notes

  • This bundle contains only deploy-relevant code.
  • Keep this folder as your deployment mirror and sync from your private repo when needed.