Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,9 @@ 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 with one application
|
17 |
uploaded_file = st.file_uploader("Choose a file")
|
18 |
if uploaded_file is not None:
|
|
|
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 |
+
# prepopulate with a sample csv file that has one patent application
|
17 |
+
dataframe = pd.read_csv('patent_application.csv')
|
18 |
+
|
19 |
# to upload a .csv file with one application
|
20 |
uploaded_file = st.file_uploader("Choose a file")
|
21 |
if uploaded_file is not None:
|