Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ import setup_environment
|
|
7 |
import zipfile
|
8 |
import sys
|
9 |
from setup_environment import initialize_environment
|
|
|
10 |
|
11 |
zero = torch.Tensor([0]).cuda()
|
12 |
print(zero.device) # <-- 'cpu' 🤔
|
@@ -17,6 +18,8 @@ def greet(n):
|
|
17 |
|
18 |
|
19 |
|
|
|
|
|
20 |
initialize_environment()
|
21 |
|
22 |
sys.path.append('/home/user/.local/lib/python3.10/site-packages')
|
|
|
7 |
import zipfile
|
8 |
import sys
|
9 |
from setup_environment import initialize_environment
|
10 |
+
from download import download_files_from_url
|
11 |
|
12 |
zero = torch.Tensor([0]).cuda()
|
13 |
print(zero.device) # <-- 'cpu' 🤔
|
|
|
18 |
|
19 |
|
20 |
|
21 |
+
download_files_from_url()
|
22 |
+
|
23 |
initialize_environment()
|
24 |
|
25 |
sys.path.append('/home/user/.local/lib/python3.10/site-packages')
|