Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -104,7 +104,7 @@ Hugging Face user and space name.
|
|
104 |
git remote add space https://huggingface.co/spaces/andreped/ViT-ImageClassifier
|
105 |
```
|
106 |
|
107 |
-
17. Then push the code to
|
108 |
```
|
109 |
git push --force space main
|
110 |
```
|
@@ -112,11 +112,18 @@ git push --force space main
|
|
112 |
The first time, you will be promoted to give your username and password. When giving the password, you need to give the `HF_TOKEN` you defined earlier.
|
113 |
Go to `Settings > Access Tokens > Select token > Click show`.
|
114 |
|
115 |
-
18.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
|
117 |
-
|
118 |
|
119 |
-
|
120 |
|
121 |
## Bonus task for speedy bois and gals
|
122 |
|
|
|
104 |
git remote add space https://huggingface.co/spaces/andreped/ViT-ImageClassifier
|
105 |
```
|
106 |
|
107 |
+
17. Then push the code to HuggingFace by running to enable syncronization (only needed to do once):
|
108 |
```
|
109 |
git push --force space main
|
110 |
```
|
|
|
112 |
The first time, you will be promoted to give your username and password. When giving the password, you need to give the `HF_TOKEN` you defined earlier.
|
113 |
Go to `Settings > Access Tokens > Select token > Click show`.
|
114 |
|
115 |
+
18. Then push the code to GitHub by:
|
116 |
+
```
|
117 |
+
git add .
|
118 |
+
git commit -m "Some changes"
|
119 |
+
git push
|
120 |
+
```
|
121 |
+
|
122 |
+
19. Now go to your GitHub fork (e.g., `https://github.com/<username>/INF1600-ai-workshop/`) and verify that the code is there.
|
123 |
|
124 |
+
20. Then click the `Actions` tab to see running workflows. Verify that the workflow ran successfully by clicking the current run and checking workflow status.
|
125 |
|
126 |
+
21. Finally, we can then head over to our Hugging Face space and check if everything is working. My own app is hosted at [https://huggingface.co/spaces/andreped/ViT-ImageClassifier](https://huggingface.co/spaces/andreped/ViT-ImageClassifier).
|
127 |
|
128 |
## Bonus task for speedy bois and gals
|
129 |
|