FJFehr commited on
Commit
1e69b92
·
1 Parent(s): 0f3e4c3

Set up readme

Browse files
Files changed (1) hide show
  1. README.md +20 -6
README.md CHANGED
@@ -29,15 +29,29 @@ uv run python app.py
29
 
30
  Open http://127.0.0.1:7860
31
 
32
- ## Deploy to Hugging Face Spaces (Gradio SDK)
33
 
34
- Include these files at the repo root:
35
 
36
- - app.py
37
- - keyboard.html
38
- - requirements.txt
 
 
39
 
40
- Then create a Gradio Space and push the repo.
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
  ## API
43
 
 
29
 
30
  Open http://127.0.0.1:7860
31
 
32
+ ## Deploy to Hugging Face Spaces
33
 
34
+ ### Quick Setup
35
 
36
+ 1. **Create a Space**
37
+ - Go to https://huggingface.co/spaces
38
+ - Click "Create new Space"
39
+ - Choose **Gradio SDK**
40
+ - Name it (e.g., `virtual_keyboard`)
41
 
42
+ 2. **Add HF remote and push**
43
+ ```bash
44
+ git remote add hf git@hf.co:spaces/YOUR_USERNAME/virtual_keyboard
45
+ git push hf main
46
+ ```
47
+
48
+ That's it! Your Space will automatically deploy.
49
+
50
+ ### Push to Both GitHub and HF
51
+
52
+ ```bash
53
+ git push origin main && git push hf main
54
+ ```
55
 
56
  ## API
57