Spaces:
Running
Running
pjgerrits
commited on
Commit
•
9928153
1
Parent(s):
5db2569
fix xy
Browse files- app.py +1 -1
- requirements.txt +1 -0
app.py
CHANGED
@@ -39,7 +39,7 @@ def submit_data(age, gender, transport, multi_transport, time_of_day, day_of_wee
|
|
39 |
INSERT INTO public.gettinglost_geom (ID, PointType, geom)
|
40 |
VALUES (%s, %s, ST_SetSRID(ST_Point(%s, %s), 4326));
|
41 |
""",
|
42 |
-
(record_id, pointType, point[
|
43 |
)
|
44 |
|
45 |
conn.commit()
|
|
|
39 |
INSERT INTO public.gettinglost_geom (ID, PointType, geom)
|
40 |
VALUES (%s, %s, ST_SetSRID(ST_Point(%s, %s), 4326));
|
41 |
""",
|
42 |
+
(record_id, pointType, point[1], point[0])
|
43 |
)
|
44 |
|
45 |
conn.commit()
|
requirements.txt
CHANGED
@@ -6,4 +6,5 @@ psycopg2-binary
|
|
6 |
pandas
|
7 |
folium
|
8 |
streamlit_folium
|
|
|
9 |
|
|
|
6 |
pandas
|
7 |
folium
|
8 |
streamlit_folium
|
9 |
+
sqlalchemy
|
10 |
|