Spaces:
Sleeping
Sleeping
fix bug
Browse files- .ipynb_checkpoints/app-checkpoint.py +1 -1
- 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(
|
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(
|
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")
|