Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -232,7 +232,6 @@ def delete_master_file():
|
|
| 232 |
service = build('drive', 'v3', credentials=creds)
|
| 233 |
# Authenticate with Google Drive API
|
| 234 |
# service = build('drive', 'v3', credentials=creds)
|
| 235 |
-
folder_id = "1HBRUZePST0D0buyU9MxeYg2vQyEL4wLF"
|
| 236 |
|
| 237 |
# List all files in the folder
|
| 238 |
results = service.files().list(
|
|
@@ -313,10 +312,10 @@ def main():
|
|
| 313 |
else:
|
| 314 |
st.error("Error: Converted Excel file not found")
|
| 315 |
|
| 316 |
-
st.markdown("##### Click the button below if you want to upload a new mapping file")
|
| 317 |
-
if st.button("Delete Mapping file in Cloud", key="delete"):
|
| 318 |
-
|
| 319 |
-
|
| 320 |
|
| 321 |
st.markdown("### STEP 2")
|
| 322 |
mapping_uploaded_file = None
|
|
|
|
| 232 |
service = build('drive', 'v3', credentials=creds)
|
| 233 |
# Authenticate with Google Drive API
|
| 234 |
# service = build('drive', 'v3', credentials=creds)
|
|
|
|
| 235 |
|
| 236 |
# List all files in the folder
|
| 237 |
results = service.files().list(
|
|
|
|
| 312 |
else:
|
| 313 |
st.error("Error: Converted Excel file not found")
|
| 314 |
|
| 315 |
+
# st.markdown("##### Click the button below if you want to upload a new mapping file")
|
| 316 |
+
# if st.button("Delete Mapping file in Cloud", key="delete"):
|
| 317 |
+
# delete_master_file()
|
| 318 |
+
# file_present = pull_mapping_file_from_drive()
|
| 319 |
|
| 320 |
st.markdown("### STEP 2")
|
| 321 |
mapping_uploaded_file = None
|