Spaces:
Sleeping
Sleeping
Timo
commited on
Commit
·
fcf14a6
1
Parent(s):
5a88e29
weird fixes
Browse files- .gitignore +1 -0
- src/draft_model.py +1 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
key.txtkey.txt
|
src/draft_model.py
CHANGED
|
@@ -17,6 +17,7 @@ CARD_FILE = "cards_eoe.json"
|
|
| 17 |
ENCODING_FILE = "card_encodings.pt"
|
| 18 |
|
| 19 |
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
class DraftModel:
|
|
|
|
| 17 |
ENCODING_FILE = "card_encodings.pt"
|
| 18 |
|
| 19 |
|
| 20 |
+
os.environ.setdefault("HF_HOME", os.path.expanduser("~/.cache/huggingface"))
|
| 21 |
|
| 22 |
|
| 23 |
class DraftModel:
|