Pradeep Kumar commited on
Commit
4b30448
·
verified ·
1 Parent(s): b36357d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -2,14 +2,12 @@ import zipfile
2
  import sys
3
  import os
4
 
5
-
6
-
7
  with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:
8
  extract_path = 'models'
9
  zip_ref.extractall(extract_path)
10
  print(f"Extracted contents to {os.path.abspath(extract_path)}")
11
 
12
- sys.path.append('/home/user/app/models.zip')
13
 
14
  print(sys.path)
15
 
 
2
  import sys
3
  import os
4
 
 
 
5
  with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:
6
  extract_path = '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