segestic commited on
Commit
b996afb
1 Parent(s): 8749106

Update apps/paraphraseApp.py

Browse files
Files changed (1) hide show
  1. apps/paraphraseApp.py +1 -1
apps/paraphraseApp.py CHANGED
@@ -5,7 +5,7 @@ def app():
5
  st.title('Paraphraser')
6
  st.write('Please provide the text to be paraphrased')
7
  user_input = st.text_area('Enter text','')
8
- paraphraseNo = st.slider('Number of Parapharases',1,2,10)
9
  if st.button('Paraphrase'):
10
  output = get_paraphrased_sentences(model, tokenizer, user_input, num_beams=10, num_return_sequences=paraphraseNo)
11
  st.write("Paraphrased Text: ")
 
5
  st.title('Paraphraser')
6
  st.write('Please provide the text to be paraphrased')
7
  user_input = st.text_area('Enter text','')
8
+ paraphraseNo = st.slider('Number of Parapharases',1,10,2)
9
  if st.button('Paraphrase'):
10
  output = get_paraphrased_sentences(model, tokenizer, user_input, num_beams=10, num_return_sequences=paraphraseNo)
11
  st.write("Paraphrased Text: ")