khanfou
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -30,12 +30,11 @@ with st.form("patent-form"):
|
|
30 |
|
31 |
if submitted:
|
32 |
#st.write("Outside the form")
|
33 |
-
hupd_model = pipeline(
|
34 |
result = hupd_model(make_choice)[0]
|
35 |
score = result['score']
|
36 |
st.write("The Patentability Score is:", score)
|
37 |
-
|
38 |
-
st.write("Please Select a Patent Application Number!!")
|
39 |
######NEW
|
40 |
|
41 |
pd.options.display.max_colwidth = 100000
|
|
|
30 |
|
31 |
if submitted:
|
32 |
#st.write("Outside the form")
|
33 |
+
hupd_model = pipeline(model="turingmachine/hupd-distilroberta-base")
|
34 |
result = hupd_model(make_choice)[0]
|
35 |
score = result['score']
|
36 |
st.write("The Patentability Score is:", score)
|
37 |
+
|
|
|
38 |
######NEW
|
39 |
|
40 |
pd.options.display.max_colwidth = 100000
|