Update app.py
Browse files
app.py
CHANGED
|
@@ -4,13 +4,13 @@ def get_tile(x=5,y=5,z=5):
|
|
| 4 |
|
| 5 |
url = f"""
|
| 6 |
<div style='display:flex'>
|
| 7 |
-
<img src='https://tile.openstreetmap.org/{x}/{y}/{z}.png'>
|
| 8 |
-
<img src='https://tile.openstreetmap.org/{x}/{y+1}/{z}.png'>
|
| 9 |
-
</div>
|
| 10 |
-
<div style='display:flex'>
|
| 11 |
<img src='https://tile.openstreetmap.org/{x+1}/{y}/{z}.png'>
|
| 12 |
<img src='https://tile.openstreetmap.org/{x+1}/{y+1}/{z}.png'>
|
| 13 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
"""
|
| 15 |
return url
|
| 16 |
iface = gr.Interface(fn=get_tile, # Not used here since the routing happens within Flask
|
|
|
|
| 4 |
|
| 5 |
url = f"""
|
| 6 |
<div style='display:flex'>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
<img src='https://tile.openstreetmap.org/{x+1}/{y}/{z}.png'>
|
| 8 |
<img src='https://tile.openstreetmap.org/{x+1}/{y+1}/{z}.png'>
|
| 9 |
</div>
|
| 10 |
+
<div style='display:flex'>
|
| 11 |
+
<img src='https://tile.openstreetmap.org/{x}/{y}/{z}.png'>
|
| 12 |
+
<img src='https://tile.openstreetmap.org/{x}/{y+1}/{z}.png'>
|
| 13 |
+
</div>
|
| 14 |
"""
|
| 15 |
return url
|
| 16 |
iface = gr.Interface(fn=get_tile, # Not used here since the routing happens within Flask
|