MySafeCode commited on
Commit
82a5638
·
verified ·
1 Parent(s): 3012a78

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -5
README.md CHANGED
@@ -1,12 +1,46 @@
1
  ---
2
- title: StablecogAPI
3
- emoji: 🏢
4
- colorFrom: red
5
- colorTo: gray
6
  sdk: gradio
7
- sdk_version: 6.2.0
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: StableCog Credit Monitor
3
+ emoji: 🎨
4
+ colorFrom: purple
5
+ colorTo: indigo
6
  sdk: gradio
7
+ sdk_version: 4.0.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