Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,10 +12,12 @@ st.title('Can I Patent This?')
|
|
12 |
|
13 |
st.write("This model is tuned with all patent applications submitted in Jan 2016 in [the Harvard USPTO patent dataset](https://github.com/suzgunmirac/hupd)")
|
14 |
|
|
|
|
|
15 |
# steamlit form
|
16 |
-
|
17 |
|
18 |
-
|
19 |
|
20 |
form = st.form(key='sentiment-form')
|
21 |
user_input = form.text_area(label = 'Enter your text', value = "I love steamlit and hugging face!")
|
|
|
12 |
|
13 |
st.write("This model is tuned with all patent applications submitted in Jan 2016 in [the Harvard USPTO patent dataset](https://github.com/suzgunmirac/hupd)")
|
14 |
|
15 |
+
tuple_of_choices = ('Email', 'Home phone', 'Mobile phone')
|
16 |
+
|
17 |
# steamlit form
|
18 |
+
option = st.selectbox('How would you like to be contacted?', tuple_of_choices)
|
19 |
|
20 |
+
st.write('You selected:', option)
|
21 |
|
22 |
form = st.form(key='sentiment-form')
|
23 |
user_input = form.text_area(label = 'Enter your text', value = "I love steamlit and hugging face!")
|