Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ if audio_bytes:
|
|
25 |
pipe_p=pipeline(model="ramsrigouthamg/t5_sentence_paraphraser")
|
26 |
st.title("Paraphraser")
|
27 |
import sentencepiece as spm
|
28 |
-
sp=spm.SentencePieceProcessor(model_file=
|
29 |
text_p=st.text_area('Input sentence:')
|
30 |
if text_p:
|
31 |
out_p=pipe_p(text_p)
|
|
|
25 |
pipe_p=pipeline(model="ramsrigouthamg/t5_sentence_paraphraser")
|
26 |
st.title("Paraphraser")
|
27 |
import sentencepiece as spm
|
28 |
+
sp=spm.SentencePieceProcessor(model_file="D:\llm\t5_sentence_paraphraser\spiece.model")
|
29 |
text_p=st.text_area('Input sentence:')
|
30 |
if text_p:
|
31 |
out_p=pipe_p(text_p)
|