Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +2 -2
app/main.py
CHANGED
|
@@ -12,8 +12,8 @@ app = FastAPI()
|
|
| 12 |
import zipfile
|
| 13 |
import os
|
| 14 |
|
| 15 |
-
zip_path = "nse_vector_base.zip" # path to your uploaded zip
|
| 16 |
-
extract_path = "nse_vector_base/" # folder to extract into
|
| 17 |
|
| 18 |
# Extract only if not already extracted
|
| 19 |
if not os.path.exists(extract_path):
|
|
|
|
| 12 |
import zipfile
|
| 13 |
import os
|
| 14 |
|
| 15 |
+
zip_path = "app/nse_vector_base.zip" # path to your uploaded zip
|
| 16 |
+
extract_path = "app/nse_vector_base/" # folder to extract into
|
| 17 |
|
| 18 |
# Extract only if not already extracted
|
| 19 |
if not os.path.exists(extract_path):
|