Spaces:
Runtime error
Runtime error
update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ def parph(name= "paraphrase: This is something which I cannt understand at all."
|
|
5 |
text2text = pipeline("text2text-generation")
|
6 |
#model_name = 'tuner007/pegasus_paraphrase'
|
7 |
text2text = pipeline('text2text-generation', model = "Vamsi/T5_Paraphrase_Paws")
|
8 |
-
text2text()
|
9 |
-
return
|
10 |
|
11 |
|
12 |
iface = gr.Interface(fn=parph, inputs="text", outputs="text")
|
|
|
5 |
text2text = pipeline("text2text-generation")
|
6 |
#model_name = 'tuner007/pegasus_paraphrase'
|
7 |
text2text = pipeline('text2text-generation', model = "Vamsi/T5_Paraphrase_Paws")
|
8 |
+
#text2text(name)
|
9 |
+
return text2text(name)
|
10 |
|
11 |
|
12 |
iface = gr.Interface(fn=parph, inputs="text", outputs="text")
|