Spaces:
Sleeping
Sleeping
fix bug
Browse files- .ipynb_checkpoints/app-checkpoint.py +1 -1
- app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -29,7 +29,7 @@ long_desc = "This is a Flan-T5-Large model fine-tuned to perform paraphrase clas
|
|
29 |
example1 = ["On Monday, Tom went to the market.","Tom went to the market on Monday."]
|
30 |
|
31 |
demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text",
|
32 |
-
examples=gr.Examples(examples=[example1,]),
|
33 |
title=title,
|
34 |
description=desc,
|
35 |
article=long_desc)
|
|
|
29 |
example1 = ["On Monday, Tom went to the market.","Tom went to the market on Monday."]
|
30 |
|
31 |
demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text",
|
32 |
+
examples=gr.Examples(examples=[example1,inputs=["text", "text"]]),
|
33 |
title=title,
|
34 |
description=desc,
|
35 |
article=long_desc)
|
app.py
CHANGED
@@ -29,7 +29,7 @@ long_desc = "This is a Flan-T5-Large model fine-tuned to perform paraphrase clas
|
|
29 |
example1 = ["On Monday, Tom went to the market.","Tom went to the market on Monday."]
|
30 |
|
31 |
demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text",
|
32 |
-
examples=gr.Examples(examples=[example1,]),
|
33 |
title=title,
|
34 |
description=desc,
|
35 |
article=long_desc)
|
|
|
29 |
example1 = ["On Monday, Tom went to the market.","Tom went to the market on Monday."]
|
30 |
|
31 |
demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text",
|
32 |
+
examples=gr.Examples(examples=[example1,inputs=["text", "text"]]),
|
33 |
title=title,
|
34 |
description=desc,
|
35 |
article=long_desc)
|