ayethuzar commited on
Commit
2dc19fa
·
unverified ·
1 Parent(s): cf2e01c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ st.title('Can I Patent This?')
13
 
14
  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)")
15
 
16
- # to upload a .csv file
17
  uploaded_file = st.file_uploader("Choose a file")
18
  if uploaded_file is not None:
19
  # To read file as bytes:
@@ -40,7 +40,7 @@ option = st.selectbox('Which other sections would you like to view?', tuple_of_c
40
  st.write('You selected:', option)
41
 
42
  form = st.form(key='sentiment-form')
43
- user_input = form.text_area(label = 'Enter your text', value = "I love steamlit and hugging face!")
44
  submit = form.form_submit_button('Submit')
45
 
46
  model_name = "ayethuzar/tuned-for-patentability"
 
13
 
14
  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)")
15
 
16
+ # to upload a .csv file with one application
17
  uploaded_file = st.file_uploader("Choose a file")
18
  if uploaded_file is not None:
19
  # To read file as bytes:
 
40
  st.write('You selected:', option)
41
 
42
  form = st.form(key='sentiment-form')
43
+ user_input = form.text_area(label = 'Enter your text', value = dataframe['abstract'][0])
44
  submit = form.form_submit_button('Submit')
45
 
46
  model_name = "ayethuzar/tuned-for-patentability"