ayethuzar commited on
Commit
f599b54
·
unverified ·
1 Parent(s): 00a6751

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ if submit:
64
  outputs = model(**batch)
65
  #st.write(outputs)
66
  predictions = F.softmax(outputs.logits, dim = 1)
67
- result = "Patentability Score: " + str(predictions.numpy()[0])
68
  html_str = f"""<style>p.a {{font: bold {28}px Courier;color:#1D5D9B;}}</style><p class="a">{result}</p>"""
69
  st.markdown(html_str, unsafe_allow_html=True)
70
 
 
64
  outputs = model(**batch)
65
  #st.write(outputs)
66
  predictions = F.softmax(outputs.logits, dim = 1)
67
+ result = "Patentability Score: " + str(predictions.numpy()[0][1])
68
  html_str = f"""<style>p.a {{font: bold {28}px Courier;color:#1D5D9B;}}</style><p class="a">{result}</p>"""
69
  st.markdown(html_str, unsafe_allow_html=True)
70