Spaces:
Running
Running
Set up readme
Browse files
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
|
| 33 |
|
| 34 |
-
|
| 35 |
|
| 36 |
-
|
| 37 |
-
-
|
| 38 |
-
-
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|