Spaces:
Sleeping
Sleeping
update text
Browse files- .ipynb_checkpoints/app-checkpoint.py +2 -2
- app.py +2 -2
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -32,8 +32,8 @@ long_desc = "This is a Flan-T5-Large model fine-tuned to perform paraphrase clas
|
|
32 |
s1 = gr.Textbox(value="On Monday, Tom went to the market and bought a pig.",label="Sentence 1")
|
33 |
s2 = gr.Textbox(value="Tom went to the market.",label="Sentence 2")
|
34 |
|
35 |
-
label = gr.Markdown(value="")
|
36 |
-
explain = gr.Markdown(value="")
|
37 |
|
38 |
demo = gr.Interface(fn=infer, inputs=[s1,s2], outputs=[label,explain],
|
39 |
title=title,
|
|
|
32 |
s1 = gr.Textbox(value="On Monday, Tom went to the market and bought a pig.",label="Sentence 1")
|
33 |
s2 = gr.Textbox(value="Tom went to the market.",label="Sentence 2")
|
34 |
|
35 |
+
label = gr.Markdown(value="Label: ")
|
36 |
+
explain = gr.Markdown(value="Explanation: ")
|
37 |
|
38 |
demo = gr.Interface(fn=infer, inputs=[s1,s2], outputs=[label,explain],
|
39 |
title=title,
|
app.py
CHANGED
@@ -32,8 +32,8 @@ long_desc = "This is a Flan-T5-Large model fine-tuned to perform paraphrase clas
|
|
32 |
s1 = gr.Textbox(value="On Monday, Tom went to the market and bought a pig.",label="Sentence 1")
|
33 |
s2 = gr.Textbox(value="Tom went to the market.",label="Sentence 2")
|
34 |
|
35 |
-
label = gr.Markdown(value="")
|
36 |
-
explain = gr.Markdown(value="")
|
37 |
|
38 |
demo = gr.Interface(fn=infer, inputs=[s1,s2], outputs=[label,explain],
|
39 |
title=title,
|
|
|
32 |
s1 = gr.Textbox(value="On Monday, Tom went to the market and bought a pig.",label="Sentence 1")
|
33 |
s2 = gr.Textbox(value="Tom went to the market.",label="Sentence 2")
|
34 |
|
35 |
+
label = gr.Markdown(value="Label: ")
|
36 |
+
explain = gr.Markdown(value="Explanation: ")
|
37 |
|
38 |
demo = gr.Interface(fn=infer, inputs=[s1,s2], outputs=[label,explain],
|
39 |
title=title,
|