Spaces:
Running
Running
Update app.py
Browse files
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"
|
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:
|