Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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=
|
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: ")
|