Spaces:
Runtime error
Runtime error
gstdl
commited on
Commit
·
11a14a4
1
Parent(s):
6486b0c
add notes.md
Browse files
NOTES.md
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Steps to upload to huggingface
|
2 |
+
|
3 |
+
1. execute in terminal `git clone https://huggingface.co/spaces/<your-username>/<your-repository>`
|
4 |
+
2. execute in terminal`cd <your-repository>`
|
5 |
+
3. write your streamlit app in app.py
|
6 |
+
4. execute in terminal `git add .`
|
7 |
+
5. if it's your first time setting up git, you are required to provide config by doing executing the following commands
|
8 |
+
```sh
|
9 |
+
$ git config --global user.name "John Doe"
|
10 |
+
$ git config --global user.email [email protected]
|
11 |
+
```
|
12 |
+
https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration
|
13 |
+
6. execute in terminal `git commit -m "first commit"`
|
14 |
+
7. execute in terminal `git push`
|