ayethuzar commited on
Commit
ba6bb47
·
unverified ·
1 Parent(s): 1905303

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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
- #option = st.selectbox('Which patent file would you like to test?',('p1', 'p2', 'p3'))
17
 
18
- #st.write(option)
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!")