cherieho commited on
Commit
aa5319f
·
verified ·
1 Parent(s): 6ddcd40

Update title and description

Browse files
Files changed (1) hide show
  1. main.py +7 -3
main.py CHANGED
@@ -332,18 +332,22 @@ for d in all_dirs:
332
 
333
  logger.info(f"Current working directory: {os.getcwd()}, listdir: {os.listdir('.')}")
334
 
 
 
 
 
 
335
  demo = gr.Interface(
336
  fn=fetch,
337
  inputs=[gr.Text("Pittsburgh, PA, United States", label="Location (City, {Optional: State,} Country)"),
338
  gr.Number(value=1, label="Number of Data Pairs to Generate (Max: 3)", minimum=1, maximum=3),
339
- gr.Checkbox(value=False, label="Filter & Undistort (True in paper. Results in better robot position estimate, but slower.)"),
340
  gr.Checkbox(value=False, label="Disable camera model filtering (Enabled in paper. Results in better quality labels, but slower.)"),
341
  gr.Slider(minimum=64, maximum=512, step=1, label="BEV Dimension", value=224),
342
  gr.Slider(minimum=0.1, maximum=2, label="Meters Per Pixel", value=0.5)],
343
  outputs=[gr.Image(label="Data Pair")],
344
  title="MapItAnywhere (MIA) Data Engine",
345
-
346
- description="Use our Data Engine to sample first-person view images and bird's-eye view semantic map pairs from locations around the globe. Simply pick a location to see the results! Please note the Huggingface demo is much slower than running locally. For faster bulk downloads and more stringent filtering, visit our repository and follow the instructions to run the data curation locally. If the curation takes longer than 1 minute, please restart the space (see dropdown menu at top-right of the page). "
347
  )
348
 
349
  logger.info("Starting server")
 
332
 
333
  logger.info(f"Current working directory: {os.getcwd()}, listdir: {os.listdir('.')}")
334
 
335
+ description = """
336
+ <h2><center> <a href="https://mapitanywhere.github.io" target="_blank">Project Page</a> | <a href="https://github.com/MapItAnywhere/MapItAnywhere" target="_blank">Repository</a> \nUse our Data Engine to sample first-person view images and bird's-eye view semantic map pairs from locations worldwide. Simply pick a location to see the results! <center></h2>
337
+ </h3><h3 align="center">Please note that the Huggingface demo runs much slower than running locally. If the curation takes longer than 1 minute, please restart the space (see the dropdown menu at the top-right of the page). For faster bulk downloads and more stringent filtering, visit our repository and follow the data engine instructions to run the data curation locally.</h3>
338
+ """
339
+
340
  demo = gr.Interface(
341
  fn=fetch,
342
  inputs=[gr.Text("Pittsburgh, PA, United States", label="Location (City, {Optional: State,} Country)"),
343
  gr.Number(value=1, label="Number of Data Pairs to Generate (Max: 3)", minimum=1, maximum=3),
344
+ gr.Checkbox(value=False, label="Filter out images with high pose discrepancy (Enabled in paper. Results in better robot position estimate, but slower.)"),
345
  gr.Checkbox(value=False, label="Disable camera model filtering (Enabled in paper. Results in better quality labels, but slower.)"),
346
  gr.Slider(minimum=64, maximum=512, step=1, label="BEV Dimension", value=224),
347
  gr.Slider(minimum=0.1, maximum=2, label="Meters Per Pixel", value=0.5)],
348
  outputs=[gr.Image(label="Data Pair")],
349
  title="MapItAnywhere (MIA) Data Engine",
350
+ description=description,
 
351
  )
352
 
353
  logger.info("Starting server")