GitHub Actions commited on
Commit
a0b5167
·
1 Parent(s): 441f6ff

Deploy from GitHub: 8534db33d8fb973e1c1843a12afb449f95313745

Browse files
Files changed (3) hide show
  1. app.py +1 -1
  2. docs/HF_README.md +12 -0
  3. docs/README.md +43 -0
app.py CHANGED
@@ -1,5 +1,5 @@
1
  from transformers.tools.base import launch_gradio_demo
2
  from emojify_text import EmojifyTextTool
3
 
4
- # Test deployment - v1.0.1
5
  launch_gradio_demo(EmojifyTextTool)
 
1
  from transformers.tools.base import launch_gradio_demo
2
  from emojify_text import EmojifyTextTool
3
 
4
+ # Test deployment - v1.0.2
5
  launch_gradio_demo(EmojifyTextTool)
docs/HF_README.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Emojify Text Tool
3
+ sdk: gradio
4
+ emoji: 😄
5
+ colorFrom: purple
6
+ colorTo: pink
7
+ sdk_version: 5.12.0
8
+ app_file: app.py
9
+ pinned: false
10
+ tags:
11
+ - tool
12
+ ---
docs/README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # EmojifyTextTool
2
+
3
+ Migrated from Hugging Face Spaces.
4
+
5
+ ## Original Space
6
+
7
+ - URL: https://huggingface.co/spaces/Chris4K/EmojifyTextTool
8
+ - SDK: gradio
9
+
10
+ ## Deployment
11
+
12
+ This space uses three-tier deployment:
13
+
14
+ 1. **Private Monorepo** (development)
15
+ - Location: `apps/huggingface/EmojifyTextTool/`
16
+ - All development happens here
17
+ - Contains secrets and private configuration
18
+
19
+ 2. **Public GitHub Repository**
20
+ - URL: https://github.com/Ckal/EmojifyTextTool
21
+ - Synced via git subtree
22
+ - Portfolio/showcase version
23
+ - Deploy: `bash infra/deploy-public-repo.sh`
24
+
25
+ 3. **Hugging Face Space**
26
+ - URL: https://huggingface.co/spaces/Chris4K/EmojifyTextTool
27
+ - Auto-deploys from public GitHub via Actions
28
+ - Live public demo
29
+
30
+ ## Development
31
+
32
+ 1. Make changes in `src/`
33
+ 2. Test locally
34
+ 3. Commit to private repo
35
+ 4. Deploy to public: `bash infra/deploy-public-repo.sh`
36
+ 5. GitHub Actions auto-pushes to HF Space
37
+
38
+ ## Files
39
+
40
+ - `src/app.py` - Main application
41
+ - `src/requirements.txt` - Dependencies
42
+ - `build.sh` - Build script
43
+ - `app.yaml` - Application configuration