vishnun commited on
Commit
19d6696
1 Parent(s): 5c031c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,7 +19,7 @@ examples =["They're house is on fire",
19
 
20
  input_text = form.selectbox(label="Choose an example",
21
  options=examples)
22
- st.write("(or)")
23
  input_text = form.text_input(label='Enter your own sentence', value=input_text)
24
  submit = form.form_submit_button("Submit")
25
 
@@ -32,7 +32,7 @@ if submit:
32
  do_sample=True,
33
  max_length=50,
34
  top_p=0.98,
35
- num_return_sequences=1
36
  )
37
 
38
  st.subheader("Suggested sentences: ")
 
19
 
20
  input_text = form.selectbox(label="Choose an example",
21
  options=examples)
22
+ form.write("(or)")
23
  input_text = form.text_input(label='Enter your own sentence', value=input_text)
24
  submit = form.form_submit_button("Submit")
25
 
 
32
  do_sample=True,
33
  max_length=50,
34
  top_p=0.98,
35
+ num_return_sequences=2
36
  )
37
 
38
  st.subheader("Suggested sentences: ")