tlkh commited on
Commit
b912888
·
1 Parent(s): 8aca0aa
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +1 -1
  2. app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -13,7 +13,7 @@ def query(payload):
13
 
14
  def infer(s1, s2):
15
  model_input = "Classify and explain the relationship between this pair of sentences: <S1> "+s1+" </S1><S2> "+s2+" </S2>"
16
- data = query(payload)
17
  return data
18
 
19
  demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text")
 
13
 
14
  def infer(s1, s2):
15
  model_input = "Classify and explain the relationship between this pair of sentences: <S1> "+s1+" </S1><S2> "+s2+" </S2>"
16
+ data = query(model_input)
17
  return data
18
 
19
  demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text")
app.py CHANGED
@@ -13,7 +13,7 @@ def query(payload):
13
 
14
  def infer(s1, s2):
15
  model_input = "Classify and explain the relationship between this pair of sentences: <S1> "+s1+" </S1><S2> "+s2+" </S2>"
16
- data = query(payload)
17
  return data
18
 
19
  demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text")
 
13
 
14
  def infer(s1, s2):
15
  model_input = "Classify and explain the relationship between this pair of sentences: <S1> "+s1+" </S1><S2> "+s2+" </S2>"
16
+ data = query(model_input)
17
  return data
18
 
19
  demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text")