Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -139,13 +139,31 @@ def predict_geohash_map(img: Image.Image, true_lat=None, true_lon=None, top_k=5)
|
|
| 139 |
with gr.Blocks() as demo:
|
| 140 |
gr.Markdown(
|
| 141 |
"""
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
)
|
| 150 |
with gr.Row():
|
| 151 |
img_in = gr.Image(type="pil", label="Upload Streetview Image")
|
|
|
|
| 139 |
with gr.Blocks() as demo:
|
| 140 |
gr.Markdown(
|
| 141 |
"""
|
| 142 |
+
# 🌍 Locus - GeoGuessr Image to Coordinates Model
|
| 143 |
+
Upload a **streetview-style image** (photo or screenshot).
|
| 144 |
+
The model can handle images with a small UI overlay (like from Google Street View),
|
| 145 |
+
as long as the **main scene is clearly visible**. Locus was trained on roughly 80k+ Google Street View images without textual descriptions.
|
| 146 |
+
|
| 147 |
+
You can optionally provide the actual coordinates to compare predictions and calculate distances on a world map.
|
| 148 |
+
|
| 149 |
+
---
|
| 150 |
+
|
| 151 |
+
### ⚠️ Important Usage Notice
|
| 152 |
+
Locus is developed **solely for research, experimentation, and educational exploration**.
|
| 153 |
+
It is intended for tasks such as:
|
| 154 |
+
- Studying computer vision and geolocation models
|
| 155 |
+
- Building games or challenges similar to GeoGuessr
|
| 156 |
+
- Learning about machine learning workflows and dataset training
|
| 157 |
+
|
| 158 |
+
You may **not** use Locus for any illegal, unethical, or harmful purposes, including but not limited to:
|
| 159 |
+
- Doxing (revealing private or personal information about individuals)
|
| 160 |
+
- Stalking, harassment, or invasion of privacy
|
| 161 |
+
- Law enforcement or military targeting
|
| 162 |
+
- Commercial exploitation without consent
|
| 163 |
+
- Any activity that violates local, national, or international laws
|
| 164 |
+
|
| 165 |
+
By using Locus, you agree to respect these boundaries and acknowledge that the model is a **research prototype**, not a tool for real-world deployment.
|
| 166 |
+
"""
|
| 167 |
)
|
| 168 |
with gr.Row():
|
| 169 |
img_in = gr.Image(type="pil", label="Upload Streetview Image")
|