glitz-dev commited on
Commit
ee536bc
·
1 Parent(s): fd3a526

ReadMe updated

Browse files
Files changed (1) hide show
  1. ReadMe.md +11 -32
ReadMe.md CHANGED
@@ -1,32 +1,11 @@
1
- # Adding to Huggingface
2
-
3
- 1. Check Current status -> git remote -v
4
- 2. To remove an exisitng HF Repo -> git remote remove hf
5
- 3. To add Files to HF Repo -> git remote add hf https://huggingface.co/spaces/Username/SpaceName
6
- 4. Then commit using -> git push hf main OR git push hf main --force
7
-
8
- #### Not permitting to add files to HF, generate new token with write permission
9
-
10
- 1. Go to https://huggingface.co/settings/tokens
11
- 2. Click **New token**
12
- 3. Name it something like: hf-cli
13
- 4. Set **Role = Write**
14
- 5. Copy the generated token.
15
- 6. logout and login in hf,
16
- - huggingface-cli logout (deprecated) / hf auth logout
17
- - huggingface-cli login (deprecated) / hf auth login
18
- - paste key + enter / $env:HF_TOKEN = "token-no"
19
- 7. confirm identity
20
- - huggingface-cli whoami (deprecated)/ hf auth whoami
21
- 8. try to push again
22
- - git push hf main --force
23
-
24
-
25
- git remote set-url origin https://<YOUR_USERNAME>:<YOUR_TOKEN>@huggingface.co/spaces/<YOUR_USERNAME>/<YOUR_REPO>.git
26
-
27
- To check root folder in Repo -> git rev-parse --show-toplevel
28
-
29
- git fetch hf # fetch latest commits from remote
30
- git branch -r # shows local copies of remote branches
31
- git checkout main # switch to your local main branch
32
- git merge hf/main # merge fetched remote changes into local main
 
1
+ ---
2
+ title: Pdf Extract
3
+ emoji: 🐢
4
+ colorFrom: purple
5
+ colorTo: blue
6
+ sdk: docker
7
+ pinned: false
8
+ short_description: A python app with integrated LLM's - for summary & qa
9
+ ---
10
+
11
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference