wintergw commited on
Commit
cde8866
·
verified ·
1 Parent(s): 4dab0e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -10,6 +10,15 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
10
  from peft import PeftModel
11
 
12
 
 
 
 
 
 
 
 
 
 
13
  HF_TOKEN_LLAMA = os.environ.get("HF_TOKEN_LLAMA")
14
  login(token=HF_TOKEN_LLAMA)
15
 
 
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