Spaces:
Sleeping
Sleeping
jaifar530
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,8 @@ if not os.path.exists('my_authorship_model'):
|
|
40 |
if os.path.exists(zip_file_path):
|
41 |
st.write("Zip file exists")
|
42 |
|
43 |
-
# Debugging: List contents of the zip file using unzip
|
44 |
-
subprocess.run(['unzip', '-l', zip_file_path])
|
45 |
|
46 |
# Extract the model using unzip
|
47 |
unzip_result = subprocess.run(['unzip', '-o', zip_file_path, '-d', 'my_authorship_model'])
|
|
|
40 |
if os.path.exists(zip_file_path):
|
41 |
st.write("Zip file exists")
|
42 |
|
43 |
+
# # Debugging: List contents of the zip file using unzip
|
44 |
+
# subprocess.run(['unzip', '-l', zip_file_path])
|
45 |
|
46 |
# Extract the model using unzip
|
47 |
unzip_result = subprocess.run(['unzip', '-o', zip_file_path, '-d', 'my_authorship_model'])
|