wintergw commited on
Commit
28ad191
·
verified ·
1 Parent(s): cde8866

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
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