Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,15 +10,6 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
| 10 |
from peft import PeftModel
|
| 11 |
|
| 12 |
|
| 13 |
-
|
| 14 |
-
# List all files in the snapshot directory
|
| 15 |
-
os.system("ls -lah /home/user/.cache/huggingface/hub/spaces--textbook--textbook_coop/snapshots/")
|
| 16 |
-
|
| 17 |
-
# Check the specific snapshot directory
|
| 18 |
-
os.system("ls -lah /home/user/.cache/huggingface/hub/spaces--textbook--textbook_coop/snapshots/3e8f72f9178f524d1ba4fe4497a02318bdca104a/")
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
HF_TOKEN_LLAMA = os.environ.get("HF_TOKEN_LLAMA")
|
| 23 |
login(token=HF_TOKEN_LLAMA)
|
| 24 |
|
|
|
|
| 10 |
from peft import PeftModel
|
| 11 |
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
HF_TOKEN_LLAMA = os.environ.get("HF_TOKEN_LLAMA")
|
| 14 |
login(token=HF_TOKEN_LLAMA)
|
| 15 |
|