Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -301,7 +301,8 @@ async def submit_data(request: SubmitDataRequest):
|
|
301 |
"""
|
302 |
load_dotenv()
|
303 |
|
304 |
-
frontend_url = os.getenv('FRONTEND_URL_NEW')
|
|
|
305 |
truck_name = request.truck_name
|
306 |
autoSuggest = request.autoSuggest
|
307 |
consignments_data = request.consignments_data # This is already parsed from JSON
|
@@ -591,7 +592,8 @@ async def visualize_payload(payload: Dict[str, Any]):
|
|
591 |
"""
|
592 |
global processed_data_store
|
593 |
|
594 |
-
frontend_url = os.getenv('FRONTEND_URL_NEW')
|
|
|
595 |
destination_mapping = payload.get('destination_mapping')
|
596 |
|
597 |
|
|
|
301 |
"""
|
302 |
load_dotenv()
|
303 |
|
304 |
+
# frontend_url = os.getenv('FRONTEND_URL_NEW')
|
305 |
+
frontend_url="https://strong-donut-7eddd8.netlify.app"
|
306 |
truck_name = request.truck_name
|
307 |
autoSuggest = request.autoSuggest
|
308 |
consignments_data = request.consignments_data # This is already parsed from JSON
|
|
|
592 |
"""
|
593 |
global processed_data_store
|
594 |
|
595 |
+
# frontend_url = os.getenv('FRONTEND_URL_NEW')
|
596 |
+
frontend_url="https://strong-donut-7eddd8.netlify.app"
|
597 |
destination_mapping = payload.get('destination_mapping')
|
598 |
|
599 |
|