Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,6 +65,7 @@ def show_preds_image(image_path,model_selection):
|
|
| 65 |
html = f'<p>petra</p><a href="https://www.gradio.app/docs/examples" target="_blank">"https://www.gradio.app/docs/examples"</a>'
|
| 66 |
|
| 67 |
map_link = location(mux_value)
|
|
|
|
| 68 |
google_map = f'''
|
| 69 |
<!DOCTYPE html>
|
| 70 |
<html>
|
|
@@ -73,11 +74,12 @@ def show_preds_image(image_path,model_selection):
|
|
| 73 |
</head>
|
| 74 |
<body>
|
| 75 |
<h1>Map Display</h1>
|
| 76 |
-
<iframe width="600" height="450" frameborder="0" style="border:0" src="
|
| 77 |
</body>
|
| 78 |
</html>
|
| 79 |
'''
|
| 80 |
|
|
|
|
| 81 |
|
| 82 |
return img,conf,html,google_map,map_link
|
| 83 |
|
|
|
|
| 65 |
html = f'<p>petra</p><a href="https://www.gradio.app/docs/examples" target="_blank">"https://www.gradio.app/docs/examples"</a>'
|
| 66 |
|
| 67 |
map_link = location(mux_value)
|
| 68 |
+
|
| 69 |
google_map = f'''
|
| 70 |
<!DOCTYPE html>
|
| 71 |
<html>
|
|
|
|
| 74 |
</head>
|
| 75 |
<body>
|
| 76 |
<h1>Map Display</h1>
|
| 77 |
+
<iframe width="600" height="450" frameborder="0" style="border:0" src="https://www.google.com/maps/place/Ajloun+Castle/@32.3252097,35.7274499,15z/data=!4m6!3m5!1s0x151c8888296393d7:0xad15bd4bdbfa4a2c!8m2!3d32.3252097!4d35.7274499!16zL20vMDhrZDN6?entry=ttu" allowfullscreen></iframe>
|
| 78 |
</body>
|
| 79 |
</html>
|
| 80 |
'''
|
| 81 |
|
| 82 |
+
|
| 83 |
|
| 84 |
return img,conf,html,google_map,map_link
|
| 85 |
|