Update app.py
Browse files
app.py
CHANGED
|
@@ -1061,14 +1061,16 @@ from huggingface_hub import InferenceClient
|
|
| 1061 |
|
| 1062 |
|
| 1063 |
def retrieveProcessedStoreData(store, seshid):
|
| 1064 |
-
|
| 1065 |
-
if os.path.isfile(f'C:\\Users\\Wayne\\Documents\\store_processors\\completed_{store+sesh.zipcode}.json'):
|
| 1066 |
with open(f'C:\\Users\\Wayne\\Documents\\store_processors\\completed_{store+sesh.zipcode}.json', 'r') as file:
|
| 1067 |
data = json.load(file)
|
| 1068 |
return data['store_data']
|
| 1069 |
else:
|
| 1070 |
-
return []
|
| 1071 |
-
|
|
|
|
|
|
|
| 1072 |
def summaryClick(seshid):
|
| 1073 |
sesh = getSesh(seshid)
|
| 1074 |
#from pathlib import Path
|
|
|
|
| 1061 |
|
| 1062 |
|
| 1063 |
def retrieveProcessedStoreData(store, seshid):
|
| 1064 |
+
sesh = getSesh(seshid)
|
| 1065 |
+
"""if os.path.isfile(f'C:\\Users\\Wayne\\Documents\\store_processors\\completed_{store+sesh.zipcode}.json'):
|
| 1066 |
with open(f'C:\\Users\\Wayne\\Documents\\store_processors\\completed_{store+sesh.zipcode}.json', 'r') as file:
|
| 1067 |
data = json.load(file)
|
| 1068 |
return data['store_data']
|
| 1069 |
else:
|
| 1070 |
+
return []"""
|
| 1071 |
+
return []
|
| 1072 |
+
setSesh(seshid, sesh)
|
| 1073 |
+
|
| 1074 |
def summaryClick(seshid):
|
| 1075 |
sesh = getSesh(seshid)
|
| 1076 |
#from pathlib import Path
|