Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,9 +35,7 @@ if text_l:
|
|
35 |
|
36 |
pipe_p=pipeline(model="ramsrigouthamg/t5_sentence_paraphraser")
|
37 |
st.title("Paraphraser")
|
38 |
-
|
39 |
-
sp=spm.SentencePieceProcessor(model_file="D:\llm\t5_sentence_paraphraser\spiece.model")
|
40 |
-
text_p=st.text_area('Input sentence:')
|
41 |
if text_p:
|
42 |
out_p=pipe_p(text_p)
|
43 |
st.text_area(label="Output sentence:", value=out_p)
|
|
|
35 |
|
36 |
pipe_p=pipeline(model="ramsrigouthamg/t5_sentence_paraphraser")
|
37 |
st.title("Paraphraser")
|
38 |
+
text_p=st.text_area('Input sentence:', key=3)
|
|
|
|
|
39 |
if text_p:
|
40 |
out_p=pipe_p(text_p)
|
41 |
st.text_area(label="Output sentence:", value=out_p)
|