yachay commited on
Commit
1c7ef04
·
1 Parent(s): 78afeef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -124,8 +124,8 @@ if st.button('Submit'):
124
 
125
 
126
  if st.session_state.text_input:
127
- location, confidence = geolocate_text_byt5(st.session_state.text_input)
128
- st.write('Predicted Location: ', location, 'confidence: ', 'High' if confidence > 0.2 else 'Low')
129
 
130
  # Render map with pydeck
131
  map_data = pd.DataFrame(
 
124
 
125
 
126
  if st.session_state.text_input:
127
+ lat, lon, confidence = geolocate_text_byt5(st.session_state.text_input)
128
+ st.write('Predicted Location: (', lat, lon, '). Confidence: ', 'High' if confidence > 0.2 else 'Low')
129
 
130
  # Render map with pydeck
131
  map_data = pd.DataFrame(