Pradeep Kumar commited on
Commit
93d893b
1 Parent(s): 4b30448

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ import zipfile
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
 
 
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