Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -299,6 +299,7 @@ async def submit_data(request: SubmitDataRequest):
|
|
299 |
"""
|
300 |
Endpoint to receive data from the client via API.
|
301 |
"""
|
|
|
302 |
|
303 |
frontend_url = os.getenv('FRONTEND_URL_NEW')
|
304 |
truck_name = request.truck_name
|
|
|
299 |
"""
|
300 |
Endpoint to receive data from the client via API.
|
301 |
"""
|
302 |
+
load_dotenv()
|
303 |
|
304 |
frontend_url = os.getenv('FRONTEND_URL_NEW')
|
305 |
truck_name = request.truck_name
|