Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
|