Spaces:
Runtime error
Runtime error
lfs notes
Browse files
Notes.md
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Steps to get binary files working
|
2 |
+
|
3 |
+
```buildoutcfg
|
4 |
+
# clone repo from huggingface
|
5 |
+
git clone https://huggingface.co/spaces/sanzgiri/cartoonify
|
6 |
+
cd cartoonify
|
7 |
+
|
8 |
+
# create a directory called saved_model and put binaries in there
|
9 |
+
# this is the directory referenced in code
|
10 |
+
mkdir saved_model
|
11 |
+
cp <model-files> saved_model
|
12 |
+
|
13 |
+
# track model-files using git-lfs
|
14 |
+
# git lfs install
|
15 |
+
git lfs track saved_model/*
|
16 |
+
git add <other files> saved_model
|
17 |
+
|
18 |
+
# git lfs ls-files
|
19 |
+
# this should now list the files
|
20 |
+
|
21 |
+
git commit -m "adding files" .
|
22 |
+
git push
|
23 |
+
```
|