tlkh commited on
Commit
5089ef9
1 Parent(s): 5e1f687

update text

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +2 -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,