Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,12 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
| 7 |
st.title('Can I Patent This?')
|
| 8 |
|
| 9 |
# steamlit form
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
form = st.form(key='sentiment-form')
|
| 11 |
user_input = form.text_area(label = 'Enter your text', value = "I love steamlit and hugging face!")
|
| 12 |
submit = form.form_submit_button('Submit')
|
|
|
|
| 7 |
st.title('Can I Patent This?')
|
| 8 |
|
| 9 |
# steamlit form
|
| 10 |
+
option = st.selectbox(
|
| 11 |
+
'How would you like to be contacted?',
|
| 12 |
+
('Email', 'Home phone', 'Mobile phone'))
|
| 13 |
+
|
| 14 |
+
st.write(option)
|
| 15 |
+
|
| 16 |
form = st.form(key='sentiment-form')
|
| 17 |
user_input = form.text_area(label = 'Enter your text', value = "I love steamlit and hugging face!")
|
| 18 |
submit = form.form_submit_button('Submit')
|