leavoigt commited on
Commit
2b289af
·
verified ·
1 Parent(s): ca823ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- iface = gr.Interface(
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",