Spaces:
Build error
Build error
Ceshine Lee
commited on
Commit
·
46ff5db
1
Parent(s):
f70ff9e
Try loading the paraphrasing model
Browse files
app.py
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
interface = gr.Interface.load(
|
4 |
+
"huggingface/ceshine/t5-paraphrase-quora-paws",
|
5 |
+
description="Paraphrasing model trained on PAWS and Quora datasets",
|
6 |
+
examples=[
|
7 |
+
["I bought a ticket from London to New York."],
|
8 |
+
["Weh Seun spends 14 hours a week doing housework."]
|
9 |
+
]
|
10 |
+
)
|
11 |
+
interface.launch()
|