Hritik commited on
Commit
8b85fc6
1 Parent(s): 06fc105

update app

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -68,10 +68,10 @@ def inference(videopath, text):
68
  return score, nle
69
 
70
  demo = gr.Interface(inference,
71
- description="Owl-Con Demo",
72
- title="Owl-Con Demo (Code: https://github.com/Hritikbansal/videocon | Paper: https://arxiv.org/abs/2311.10111)",
73
  inputs=[gr.Video(label='input_video'), gr.Textbox(label='input_caption')],
74
- outputs=[gr.Number(label='Entailemnt Score'), gr.Textbox(label='Natural Language Explanation')],
75
  examples=[["examples/820.mp4", "We see the group making cookies."], ["examples/820.mp4", "We see the group eating cookies."], ["examples/244.mp4", "She throws a bowling ball while talking on the phone."], ["examples/244.mp4", "She throws a baseball while talking on the phone."]])
76
 
77
  if __name__ == "__main__":
 
68
  return score, nle
69
 
70
  demo = gr.Interface(inference,
71
+ title="Owl-Con Demo",
72
+ description="Owl-Con Demo (Code: https://github.com/Hritikbansal/videocon | Paper: https://arxiv.org/abs/2311.10111)",
73
  inputs=[gr.Video(label='input_video'), gr.Textbox(label='input_caption')],
74
+ outputs=[gr.Number(label='Entailment Score'), gr.Textbox(label='Natural Language Explanation')],
75
  examples=[["examples/820.mp4", "We see the group making cookies."], ["examples/820.mp4", "We see the group eating cookies."], ["examples/244.mp4", "She throws a bowling ball while talking on the phone."], ["examples/244.mp4", "She throws a baseball while talking on the phone."]])
76
 
77
  if __name__ == "__main__":