Spaces:
Running
Running
Pradeep Kumar
commited on
Commit
•
7389a5d
1
Parent(s):
165f772
Update app.py
Browse files
app.py
CHANGED
@@ -2,15 +2,6 @@ import zipfile
|
|
2 |
import sys
|
3 |
import os
|
4 |
|
5 |
-
with zipfile.ZipFile('/home/user/app/models.zip', 'r') as zip_ref:
|
6 |
-
extract_path = '/home/user/app/models'
|
7 |
-
zip_ref.extractall(extract_path)
|
8 |
-
print(f"Extracted contents to {os.path.abspath(extract_path)}")
|
9 |
-
|
10 |
-
#sys.path.append('/home/user/app/models')
|
11 |
-
|
12 |
-
print(sys.path)
|
13 |
-
|
14 |
# Check current directory and list files
|
15 |
print("Current Directory:", os.getcwd())
|
16 |
print("Files in Directory:", os.listdir())
|
|
|
2 |
import sys
|
3 |
import os
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
# Check current directory and list files
|
6 |
print("Current Directory:", os.getcwd())
|
7 |
print("Files in Directory:", os.listdir())
|