Jofthomas commited on
Commit
b9e4160
·
verified ·
1 Parent(s): 8bd9cd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -458,7 +458,7 @@ def gr_ai_analyze(round_id: str, request: gr.Request):
458
  full_text = llm_decode_image_return_text(img_resp.content)
459
  except Exception as e:
460
  return f"[Error] {e}", gr.update()
461
- ai_coords = extract_coords_from_text(full_text) or geocode_text_to_coords(full_text[-256:])
462
  ai_marker = None
463
  if ai_coords:
464
  rnd['ai_guess'] = ai_coords
 
458
  full_text = llm_decode_image_return_text(img_resp.content)
459
  except Exception as e:
460
  return f"[Error] {e}", gr.update()
461
+ ai_coords = extract_coords_from_text(full_text)
462
  ai_marker = None
463
  if ai_coords:
464
  rnd['ai_guess'] = ai_coords