Spaces:
Build error
Build error
premise and hypothesis prompts
Browse files
app.py
CHANGED
@@ -21,4 +21,4 @@ def zs(premise,hypothesis):
|
|
21 |
true_prob = probs[:,1].item() * 100
|
22 |
return true_prob
|
23 |
|
24 |
-
gr.Interface(fn=zs, inputs="text", outputs="text").launch()
|
|
|
21 |
true_prob = probs[:,1].item() * 100
|
22 |
return true_prob
|
23 |
|
24 |
+
gr.Interface(fn=zs, inputs=["text", "text"], outputs="text").launch()
|