MySafeCode commited on
Commit
01f8f90
·
verified ·
1 Parent(s): c838643

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -35
README.md CHANGED
@@ -1,46 +1,31 @@
1
  ---
2
- title: StableCog Credit Monitor
3
  emoji: 🎨
4
  colorFrom: purple
5
  colorTo: indigo
6
- sdk: gradio
7
- sdk_version: 6.0.0 # Changed back to 4.32.0
8
- app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- # StableCog Credit Monitor 🎯
13
 
14
- A beautiful dashboard to monitor your StableCog API credits and plan image generation projects.
15
 
16
- ## Features
17
- - ✅ Real-time credit checking
18
- - ✅ Visual progress bar with color coding
19
- - ✅ Smart AI recommendations
20
- - ✅ Raw API response viewer
21
- - ✅ Error handling with troubleshooting tips
22
- - ✅ Auto-refresh on load
23
- - ✅ Mobile responsive design
24
 
25
- ## Setup on Hugging Face Spaces 🚀
 
 
 
 
26
 
27
- 1. **Fork this Space** or create a new Gradio Space
28
- 2. **Add your API key:**
29
- - Go to your Space's Settings → Secrets
30
- - Add a new secret:
31
- - Key: `STABLECOG_API_KEY`
32
- - Value: `your_actual_stablecog_api_key`
33
- 3. **The app will automatically:**
34
- - Load your API key from secrets
35
- - Display your credit status
36
- - Provide usage recommendations
37
-
38
- ## Local Development 💻
39
- ```bash
40
- git clone [your-space-repo]
41
- cd [repo-name]
42
- pip install -r requirements.txt
43
- export STABLECOG_API_KEY="your_key_here"
44
- python app.py
45
-
46
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: StableCog Dashboard
3
  emoji: 🎨
4
  colorFrom: purple
5
  colorTo: indigo
6
+ sdk: static
7
+ app_file: index.html
 
8
  pinned: false
9
  ---
10
 
11
+ # StableCog Dashboard
12
 
13
+ A lightweight, static dashboard to monitor your StableCog API credits and explore available models.
14
 
15
+ ## Features
16
+ - ✅ No installation required
17
+ - ✅ Works in any browser
18
+ - ✅ API key stored locally
19
+ - ✅ Mobile responsive
20
+ - ✅ Demo mode available
 
 
21
 
22
+ ## Usage
23
+ 1. Open the dashboard
24
+ 2. Enter your StableCog API key
25
+ 3. Click "Check Credits" and "Load Models"
26
+ 4. Your key is saved in your browser
27
 
28
+ ## Privacy
29
+ - Your API key never leaves your browser
30
+ - No backend server involved
31
+ - All API calls are direct to StableCog