Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,10 +17,10 @@ examples =["They're house is on fire",
|
|
| 17 |
"We do the boy actually stole the books",
|
| 18 |
"I am doing fine. How is you?"]
|
| 19 |
|
| 20 |
-
|
| 21 |
options=examples)
|
| 22 |
st.write("(or)")
|
| 23 |
-
input_text = form.text_input(label='Enter your own sentence')
|
| 24 |
submit = form.form_submit_button("Submit")
|
| 25 |
|
| 26 |
if submit:
|
|
|
|
| 17 |
"We do the boy actually stole the books",
|
| 18 |
"I am doing fine. How is you?"]
|
| 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 |
|
| 26 |
if submit:
|