Spaces:
Sleeping
Sleeping
add text
Browse files- .ipynb_checkpoints/app-checkpoint.py +6 -0
- app.py +6 -0
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -16,6 +16,12 @@ def infer(s1, s2):
|
|
16 |
data = query(model_input)
|
17 |
return data
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text")
|
20 |
|
21 |
demo.launch()
|
|
|
16 |
data = query(model_input)
|
17 |
return data
|
18 |
|
19 |
+
gradio.Markdown("""
|
20 |
+
# Paraphrase Classification and Explanation
|
21 |
+
|
22 |
+
This is a Flan-T5-Large model fine-tuned to perform paraphrase classification and explanation
|
23 |
+
""")
|
24 |
+
|
25 |
demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text")
|
26 |
|
27 |
demo.launch()
|
app.py
CHANGED
@@ -16,6 +16,12 @@ def infer(s1, s2):
|
|
16 |
data = query(model_input)
|
17 |
return data
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text")
|
20 |
|
21 |
demo.launch()
|
|
|
16 |
data = query(model_input)
|
17 |
return data
|
18 |
|
19 |
+
gradio.Markdown("""
|
20 |
+
# Paraphrase Classification and Explanation
|
21 |
+
|
22 |
+
This is a Flan-T5-Large model fine-tuned to perform paraphrase classification and explanation
|
23 |
+
""")
|
24 |
+
|
25 |
demo = gr.Interface(fn=infer, inputs=["text", "text"], outputs="text")
|
26 |
|
27 |
demo.launch()
|