Spaces:
Build error
Build error
fixed captials
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ with gr.Blocks() as demo:
|
|
| 33 |
gr.Markdown(f" # {title}")
|
| 34 |
gr.Markdown(f" ## {description}")
|
| 35 |
with gr.Row():
|
| 36 |
-
premise = gr.Textbox(label="Premise",placeholder = "Roger Federer is an amazing
|
| 37 |
hypothesis = gr.Textbox(label="Hypothesis", placeholder = "The stance to Roger Federer is positive.")
|
| 38 |
with gr.Row():
|
| 39 |
greet_btn = gr.Button("Compute")
|
|
@@ -45,7 +45,7 @@ with gr.Blocks() as demo:
|
|
| 45 |
greet_btn.click(fn=zs, inputs=[premise,hypothesis], outputs=[contradiction,entailment])
|
| 46 |
gr.Examples(
|
| 47 |
fn = zs,
|
| 48 |
-
examples = [["Roger Federer is an amazing
|
| 49 |
inputs = [premise,hypothesis]
|
| 50 |
)
|
| 51 |
|
|
|
|
| 33 |
gr.Markdown(f" # {title}")
|
| 34 |
gr.Markdown(f" ## {description}")
|
| 35 |
with gr.Row():
|
| 36 |
+
premise = gr.Textbox(label="Premise",placeholder = "Roger Federer is an amazing tennis player.")
|
| 37 |
hypothesis = gr.Textbox(label="Hypothesis", placeholder = "The stance to Roger Federer is positive.")
|
| 38 |
with gr.Row():
|
| 39 |
greet_btn = gr.Button("Compute")
|
|
|
|
| 45 |
greet_btn.click(fn=zs, inputs=[premise,hypothesis], outputs=[contradiction,entailment])
|
| 46 |
gr.Examples(
|
| 47 |
fn = zs,
|
| 48 |
+
examples = [["Roger Federer is an amazing tennis player.","The stance to Roger Federer is positive."]],
|
| 49 |
inputs = [premise,hypothesis]
|
| 50 |
)
|
| 51 |
|