Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def handle_geojson_upload(file):
|
|
6 |
content = file.read()
|
7 |
return f"Uploaded file with size: {len(content)} bytes"
|
8 |
|
9 |
-
|
10 |
fn=handle_geojson_upload,
|
11 |
inputs=gr.File(file_types=[".geojson"]), # restrict to geojson
|
12 |
outputs="text",
|
|
|
6 |
content = file.read()
|
7 |
return f"Uploaded file with size: {len(content)} bytes"
|
8 |
|
9 |
+
ui = gr.Interface(
|
10 |
fn=handle_geojson_upload,
|
11 |
inputs=gr.File(file_types=[".geojson"]), # restrict to geojson
|
12 |
outputs="text",
|