Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -324,7 +324,7 @@ def generate_map(location_names):
|
|
324 |
if geocode_result:
|
325 |
location = geocode_result[0]['geometry']['location']
|
326 |
folium.Marker(
|
327 |
-
[location['lat'], 'lng'],
|
328 |
tooltip=f"{geocode_result[0]['formatted_address']}"
|
329 |
).add_to(m)
|
330 |
|
@@ -444,7 +444,6 @@ def transcribe_function(stream, new_chunk):
|
|
444 |
full_text = result.get("text", "")
|
445 |
|
446 |
return stream, full_text, result
|
447 |
-
|
448 |
|
449 |
def update_map_with_response(history):
|
450 |
if not history:
|
|
|
324 |
if geocode_result:
|
325 |
location = geocode_result[0]['geometry']['location']
|
326 |
folium.Marker(
|
327 |
+
[location['lat'], location['lng']],
|
328 |
tooltip=f"{geocode_result[0]['formatted_address']}"
|
329 |
).add_to(m)
|
330 |
|
|
|
444 |
full_text = result.get("text", "")
|
445 |
|
446 |
return stream, full_text, result
|
|
|
447 |
|
448 |
def update_map_with_response(history):
|
449 |
if not history:
|