File size: 2,785 Bytes
97e7e46 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# π SAP Finance Dashboard - Quick Setup Guide
## β
Status: Live & Ready!
Your SAP Finance Dashboard is **fully deployed** on Hugging Face Spaces at:
### π https://huggingface.co/spaces/amitgpt/sap-finance-dashboard-RPT-1-OSS
---
## π One Final Step: Enable Model Features (5 minutes)
The dashboard is **fully functional** but needs your HF authentication to use AI prediction features.
### Quick Setup (3 clicks):
#### Step 1οΈβ£: Accept Model Access
- Go to: https://huggingface.co/SAP/sap-rpt-1-oss
- Click the blue **"Agree"** button
- β Done
#### Step 2οΈβ£: Create Access Token
- Visit: https://huggingface.co/settings/tokens
- Click **"New token"**
- Name: `sap-rpt-oss-access`
- Type: **"Read"**
- Click **"Create token"**
- π Copy the token (long string starting with `hf_`)
#### Step 3οΈβ£: Add to Your Space
- Go to your Space: https://huggingface.co/spaces/amitgpt/sap-finance-dashboard-RPT-1-OSS
- Click **β Settings** (top right)
- Find **"Repository secrets"**
- Click **"Add secret"**
- Name: `HF_TOKEN`
- Value: Paste your token
- Click **"Add secret"**
- Wait 1-2 minutes for rebuild
#### β¨ Done!
When the rebuild finishes, refresh the Space and all features work!
---
## π What Each Tab Does
| Tab | Function | Status |
|-----|----------|--------|
| **Dashboard** | Financial metrics & charts | β
Works |
| **Data Explorer** | Browse datasets | β
Works |
| **Upload** | Upload custom data | β
Works |
| **OData** | Connect to SAP systems | β
Works |
| **Predictions** | AI-powered forecasts | β³ Needs HF token |
| **Playground** | Train & test models | β³ Needs HF token |
---
## π οΈ How the Auth Works
1. You set `HF_TOKEN` in HF Spaces secrets
2. Space rebuilds with token available
3. Your app automatically logs in to Hugging Face
4. Model downloads from gated repository
5. Model cached for fast access
**Your token is ONLY used to download the model. No data is uploaded.**
---
## β Troubleshooting
| Problem | Solution |
|---------|----------|
| Still see 401 error | Wait 2+ min for rebuild, refresh browser |
| "HF_TOKEN not found" | Check secret name is exactly `HF_TOKEN` (case-sensitive) |
| Model still won't load | Verify you clicked "Agree" on model page |
| Old app still showing | Hard refresh: Ctrl+Shift+R (or Cmd+Shift+R on Mac) |
---
## π Full Documentation
For detailed setup, troubleshooting, and security info:
- See: `HF_AUTHENTICATION_SETUP.md` in the repo
---
## π That's It!
Your SAP Finance Dashboard is ready. With one authentication token, you'll unlock full AI functionality.
**Questions?** Check the troubleshooting section or read `HF_AUTHENTICATION_SETUP.md` for detailed guidance.
---
*Powered by Gradio β’ HuggingFace Spaces β’ SAP-RPT-1-OSS*
|