rachith commited on
Commit
4f938db
1 Parent(s): a702acd

Netplace example

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -51,9 +51,10 @@ with gr.Blocks() as demo:
51
  # greet_btn.click(fn=zs, inputs=[premise,hypothesis], outputs=[contradiction,neutral,entailment])
52
  greet_btn.click(fn=zs, inputs=[premise,hypothesis], outputs=[contradiction,entailment])
53
  gr.Examples(
54
- fn = zs,
55
- examples = [["Roger Federer is an amazing tennis player.","The stance to Roger Federer is positive."]],
56
- inputs = [premise,hypothesis]
 
57
  )
58
 
59
  demo.launch()
 
51
  # greet_btn.click(fn=zs, inputs=[premise,hypothesis], outputs=[contradiction,neutral,entailment])
52
  greet_btn.click(fn=zs, inputs=[premise,hypothesis], outputs=[contradiction,entailment])
53
  gr.Examples(
54
+ fn = zs,
55
+ examples = [["Roger Federer is an amazing tennis player.","The stance to Roger Federer is positive."],
56
+ ["NETPLACE is an awesome gathering,", "We should do this more often."]],
57
+ inputs = [premise,hypothesis]
58
  )
59
 
60
  demo.launch()