Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,21 +51,21 @@ if quanhuyen in ult.city_districts[tinhthanhpho]:
|
|
| 51 |
xaphuong = st.selectbox('Wards', ult.city_districts[tinhthanhpho][quanhuyen])
|
| 52 |
with diachi4:diachi = st.text_input('Street')
|
| 53 |
|
| 54 |
-
|
| 55 |
-
with
|
| 56 |
matdodanso=ult.Find_Density(quanhuyen,tinhthanhpho)
|
| 57 |
matdo=st.number_input('Population density(person/km2)',matdodanso,disabled=True)
|
| 58 |
-
with
|
| 59 |
gdp=ult.Find_GDPD(tinhthanhpho)
|
| 60 |
grdp=st.number_input('GRPD(%)',gdp,disabled=True)
|
| 61 |
-
|
| 62 |
-
with
|
| 63 |
dgtrcnha=st.number_input('Road in front of house(m)',step=1)
|
| 64 |
-
with
|
| 65 |
solau=st.number_input('Number of floors',step=1)
|
| 66 |
-
with
|
| 67 |
sophgngu=st.number_input('Number of bedroom',step=1)
|
| 68 |
-
with
|
| 69 |
dientich=st.number_input('Acreage/Area(m2)',step=1)
|
| 70 |
|
| 71 |
if button:
|
|
|
|
| 51 |
xaphuong = st.selectbox('Wards', ult.city_districts[tinhthanhpho][quanhuyen])
|
| 52 |
with diachi4:diachi = st.text_input('Street')
|
| 53 |
|
| 54 |
+
col4,col5 = st.columns(2)
|
| 55 |
+
with col4:
|
| 56 |
matdodanso=ult.Find_Density(quanhuyen,tinhthanhpho)
|
| 57 |
matdo=st.number_input('Population density(person/km2)',matdodanso,disabled=True)
|
| 58 |
+
with col5:
|
| 59 |
gdp=ult.Find_GDPD(tinhthanhpho)
|
| 60 |
grdp=st.number_input('GRPD(%)',gdp,disabled=True)
|
| 61 |
+
col6, col7, col8,col9 = st.columns(4)
|
| 62 |
+
with col6:
|
| 63 |
dgtrcnha=st.number_input('Road in front of house(m)',step=1)
|
| 64 |
+
with col7:
|
| 65 |
solau=st.number_input('Number of floors',step=1)
|
| 66 |
+
with col8:
|
| 67 |
sophgngu=st.number_input('Number of bedroom',step=1)
|
| 68 |
+
with col9:
|
| 69 |
dientich=st.number_input('Acreage/Area(m2)',step=1)
|
| 70 |
|
| 71 |
if button:
|