freealise commited on
Commit
e4bc959
·
verified ·
1 Parent(s): a0dc50f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -712,14 +712,7 @@ with gr.Blocks(css=css, js=js, head=head) as demo:
712
  with gr.Group():
713
  with gr.Accordion(label="Locations", open=False):
714
  output_frame.select(fn=select_frame, inputs=[output_mask], outputs=[output_mask, selected])
715
- example_coords = """[
716
- {"lat": 50.07379596793083, "lng": 14.437146122950555, "heading": 152.70303, "pitch": 2.607833999999997},
717
- {"lat": 50.073799567020004, "lng": 14.437146774240507, "heading": 151.12973, "pitch": 2.8672300000000064},
718
- {"lat": 50.07377647505558, "lng": 14.437161000659017, "heading": 151.41025, "pitch": 3.4802200000000028},
719
- {"lat": 50.07379496839027, "lng": 14.437148958238538, "heading": 151.93391, "pitch": 2.843050000000005},
720
- {"lat": 50.073823157821664, "lng": 14.437124189538856, "heading": 152.95769, "pitch": 4.233024999999998}
721
- ]"""
722
- coords = gr.File(elem_id="coords", value=example_coords, label="Alignment", interactive=False)
723
 
724
  model3d = gr.HTML(value="""
725
  <a style='color:white;font-weight:bold' href='https://freeali.se/freealise/transparent_video/' target='_blank'>Open renderer in new tab and upload your video there</a>
 
712
  with gr.Group():
713
  with gr.Accordion(label="Locations", open=False):
714
  output_frame.select(fn=select_frame, inputs=[output_mask], outputs=[output_mask, selected])
715
+ coords = gr.File(elem_id="coords", value="example_coords.json", label="Alignment", interactive=False)
 
 
 
 
 
 
 
716
 
717
  model3d = gr.HTML(value="""
718
  <a style='color:white;font-weight:bold' href='https://freeali.se/freealise/transparent_video/' target='_blank'>Open renderer in new tab and upload your video there</a>