bguberfain commited on
Commit
b15265b
1 Parent(s): ec31692

new example

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -107,8 +107,12 @@ description = "Gradio demo for Detic: Detecting Twenty-thousand Classes using Im
107
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.02605' target='_blank'>Detecting Twenty-thousand Classes using Image-level Supervision</a> | <a href='https://github.com/facebookresearch/Detic' target='_blank'>Github Repo</a></p>"
108
 
109
  os.system("wget https://www.maxpixel.net/static/photo/1x/Cat-Cute-Pets-Dog-3715734.jpg")
 
110
 
111
- examples = [['dog,cat',0.5,'Cat-Cute-Pets-Dog-3715734.jpg']]
 
 
 
112
 
113
  gr.Interface(inference,
114
  inputs=[
 
107
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.02605' target='_blank'>Detecting Twenty-thousand Classes using Image-level Supervision</a> | <a href='https://github.com/facebookresearch/Detic' target='_blank'>Github Repo</a></p>"
108
 
109
  os.system("wget https://www.maxpixel.net/static/photo/1x/Cat-Cute-Pets-Dog-3715734.jpg")
110
+ os.system("wget https://wessa.org.za/wp-content/uploads/2020/05/fee-global-action-pic.png")
111
 
112
+ examples = [
113
+ ['dog,cat',0.5,'Cat-Cute-Pets-Dog-3715734.jpg'],
114
+ ['a boy jumping in the air',0.037,'fee-global-action-pic.png'],
115
+ ]
116
 
117
  gr.Interface(inference,
118
  inputs=[