khanfou commited on
Commit
63f5e17
1 Parent(s): 3899bc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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(task="fill-mask", 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
- else:
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