Pinwheel commited on
Commit
fd0b79b
1 Parent(s): b6ba83e

Add examples

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -112,13 +112,17 @@ if __name__ == '__main__':
112
  inputs=[
113
  gr.Image(label='Input Image'),
114
  gr.Image(label='Match Image'),
115
- gr.Radio(choices=["indoor", "outdoor"], value="Indoor", type="value", label="SuperGlueType", interactive=True),
116
  ],
117
  outputs=[gr.Image(
118
  type="pil",
119
  label="Result"),
120
  gr.Textbox(label="Keypoints Matched"),
121
  gr.Textbox(label="Match Percentage")
 
 
 
 
122
  ]
123
  )
124
  glue.queue()
 
112
  inputs=[
113
  gr.Image(label='Input Image'),
114
  gr.Image(label='Match Image'),
115
+ gr.Radio(choices=["indoor", "outdoor"], value="indoor", type="value", label="SuperGlueType", interactive=True),
116
  ],
117
  outputs=[gr.Image(
118
  type="pil",
119
  label="Result"),
120
  gr.Textbox(label="Keypoints Matched"),
121
  gr.Textbox(label="Match Percentage")
122
+ ],
123
+ examples=[
124
+ ['./taj-1.jpg', './taj-2.jpg', "outdoor"],
125
+ ['./outdoor-1.JPEG', './outdoor-2.JPEG', "outdoor"]
126
  ]
127
  )
128
  glue.queue()