andreped commited on
Commit
3f1b92f
·
1 Parent(s): 3da6020

Fixed step in README

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -58,7 +58,7 @@ pip install -r requirements.txt
58
 
59
  6. To test if everything is working, try to run the following command to launch the web server:
60
  ```
61
- python3 app.py
62
  ```
63
 
64
  7. You can then access the web app by going to [http://127.0.0.1:7860](http://127.0.0.1:7860) in your favourite web browser.
@@ -85,6 +85,8 @@ We are now given the option to manually add the relevant files, but that is bori
85
  On the left hand side of `Settings` site, click `Access Tokens`, and then click `New Token`.
86
  Set the name `HF_TOKEN`, set permissions to `write`, and click `Generate a token`.
87
 
 
 
88
  15. On your laptop, open the file located at `.github/workflows/deploy.yml`, and at the last line, replace the `andreped` and `andreped/ViT-ImageClassifier` phrases with your own
89
  Hugging Face user and space name.
90
 
 
58
 
59
  6. To test if everything is working, try to run the following command to launch the web server:
60
  ```
61
+ python app.py
62
  ```
63
 
64
  7. You can then access the web app by going to [http://127.0.0.1:7860](http://127.0.0.1:7860) in your favourite web browser.
 
85
  On the left hand side of `Settings` site, click `Access Tokens`, and then click `New Token`.
86
  Set the name `HF_TOKEN`, set permissions to `write`, and click `Generate a token`.
87
 
88
+ 15. Then you need to make the same token available in your GitHub fork. Go to your fork, go the the repo `Settings > Secrets and variables > Actions` and click the green `New repository secret`. Set `HF_TOKEN` as `name` and copy the TOKEN you created previously on Hugging Face by going to `Hugging Face > Settings > Access Tokens > Select token > Click show`.
89
+
90
  15. On your laptop, open the file located at `.github/workflows/deploy.yml`, and at the last line, replace the `andreped` and `andreped/ViT-ImageClassifier` phrases with your own
91
  Hugging Face user and space name.
92