ayethuzar commited on
Commit
362d273
·
unverified ·
1 Parent(s): d6cd299

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,9 +11,9 @@ from io import StringIO
11
 
12
  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
- st.write("You can upload a .csv file with a patent application to calculate the patentability score")
17
 
18
  # prepopulate with a sample csv file that has one patent application
19
  dataframe = pd.read_csv('patent_application.csv')
@@ -54,7 +54,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
54
  text = [user_input_abstract + user_input_claims]
55
 
56
  testing = "text " + user_input_abstract
57
- testing_str = f"""<style>p.a {{font: bold {12}px Courier;color:#000000;}}</style><p class="a">{testing}</p>"""
58
  st.markdown(testing_str, unsafe_allow_html=True)
59
 
60
  if submit:
 
11
 
12
  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
+ st.write("You can upload a .csv file with a patent application to calculate the patentability score.")
17
 
18
  # prepopulate with a sample csv file that has one patent application
19
  dataframe = pd.read_csv('patent_application.csv')
 
54
  text = [user_input_abstract + user_input_claims]
55
 
56
  testing = "text " + user_input_abstract
57
+ testing_str = f"{text}"
58
  st.markdown(testing_str, unsafe_allow_html=True)
59
 
60
  if submit: