juliaannjose commited on
Commit
8fa6c01
·
1 Parent(s): 2efaef6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,8 +37,8 @@ _patent_id = st.selectbox(
37
  def get_abs_claim(_pid):
38
  # get abstract and claim corresponding to this patent id
39
  st.write(_pid)
40
- _abs = df.loc[["patent_number"] == _pid]["abstract"]
41
- _cl = df.loc[["patent_number"] == _pid]["claims"]
42
  st.write(_abs)
43
  return _abs, _cl
44
 
 
37
  def get_abs_claim(_pid):
38
  # get abstract and claim corresponding to this patent id
39
  st.write(_pid)
40
+ _abs = df.loc["patent_number" == _pid]["abstract"]
41
+ _cl = df.loc["patent_number" == _pid]["claims"]
42
  st.write(_abs)
43
  return _abs, _cl
44