Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,11 @@ with gr.Blocks() as demo:
|
|
| 131 |
The model can handle images with a small UI overlay (like from Google Street View),
|
| 132 |
as long as the **main scene is clearly visible**.
|
| 133 |
|
| 134 |
-
Optionally, provide the real coordinates to compare predictions.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
"""
|
| 136 |
)
|
| 137 |
with gr.Row():
|
|
@@ -142,7 +146,7 @@ with gr.Blocks() as demo:
|
|
| 142 |
out_text = gr.Textbox(label="Predictions + Distances")
|
| 143 |
out_plot = gr.Plot(label="Map")
|
| 144 |
|
| 145 |
-
run_btn = gr.Button("Run Prediction")
|
| 146 |
run_btn.click(predict_geohash_map, [img_in, lat_in, lon_in], [out_text, out_plot])
|
| 147 |
|
| 148 |
if __name__ == "__main__":
|
|
|
|
| 131 |
The model can handle images with a small UI overlay (like from Google Street View),
|
| 132 |
as long as the **main scene is clearly visible**.
|
| 133 |
|
| 134 |
+
Optionally, provide the real coordinates to compare predictions for comparison and distance calculation on a world map.
|
| 135 |
+
|
| 136 |
+
---
|
| 137 |
+
> Note:
|
| 138 |
+
> Locus was not trained on **actual** GeoGuessr streetview data. Only on publicly-accessible Google Streetview images.
|
| 139 |
"""
|
| 140 |
)
|
| 141 |
with gr.Row():
|
|
|
|
| 146 |
out_text = gr.Textbox(label="Predictions + Distances")
|
| 147 |
out_plot = gr.Plot(label="Map")
|
| 148 |
|
| 149 |
+
run_btn = gr.Button("Run Prediction", variant="primary")
|
| 150 |
run_btn.click(predict_geohash_map, [img_in, lat_in, lon_in], [out_text, out_plot])
|
| 151 |
|
| 152 |
if __name__ == "__main__":
|