helloworld-S commited on
Commit
6a6a21f
·
verified ·
1 Parent(s): 1979685

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -35,6 +35,9 @@ import numpy as np
35
 
36
  from huggingface_hub import hf_hub_download
37
 
 
 
 
38
  dtype = torch.bfloat16
39
  device = "cuda"
40
 
 
35
 
36
  from huggingface_hub import hf_hub_download
37
 
38
+ print(os.getcwd())
39
+ os.environ["TORCH_HOME"] = os.path.join(os.getcwd(), "checkpoints")
40
+
41
  dtype = torch.bfloat16
42
  device = "cuda"
43