Haseeb230602 commited on
Commit
5139967
·
verified ·
1 Parent(s): 3f96502

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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='t5_sentence_paraphraser/spiece.model')
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)