Update app.py
Browse files
app.py
CHANGED
@@ -26,12 +26,12 @@ def save_file_data(inp):
|
|
26 |
def get_map(inp):
|
27 |
if inp == os.environ.get("PASS"):
|
28 |
print("downloading")
|
29 |
-
os.system("wget https://download.geofabrik.de/north-america/canada/quebec-latest.osm.pbf")
|
30 |
-
|
31 |
print("done")
|
32 |
-
out = os.path.abspath("quebec-latest.osm.pbf")
|
33 |
-
print (out)
|
34 |
-
save_file_data("
|
35 |
print("saved")
|
36 |
with gr.Blocks() as app:
|
37 |
with gr.Row():
|
|
|
26 |
def get_map(inp):
|
27 |
if inp == os.environ.get("PASS"):
|
28 |
print("downloading")
|
29 |
+
#os.system("wget https://download.geofabrik.de/north-america/canada/quebec-latest.osm.pbf")
|
30 |
+
os.system("wget https://download.geofabrik.de/north-america-latest.osm.pbf")
|
31 |
print("done")
|
32 |
+
#out = os.path.abspath("quebec-latest.osm.pbf")
|
33 |
+
#print (out)
|
34 |
+
save_file_data("north-america-latest.osm.pbf")
|
35 |
print("saved")
|
36 |
with gr.Blocks() as app:
|
37 |
with gr.Row():
|