ayethuzar commited on
Commit
2531b4e
1 Parent(s): aaa887f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -42,13 +42,6 @@ if 'decision' in dataframe.columns:
42
 
43
  st.write(dataframe)
44
 
45
- tuple_of_choices = ('patent_number', 'title', 'background', 'summary', 'description')
46
-
47
- # steamlit form
48
- option = st.selectbox('Which other sections would you like to view?', tuple_of_choices)
49
-
50
- st.write('You selected:', option)
51
-
52
  user_input_abstract = st.text_area(label = 'abstract', value = dataframe['abstract'][0])
53
  user_input_claims = st.text_area(label = 'claims', value = dataframe['claims'][0])
54
  form = st.form(key='abstract-claims-form')
@@ -71,3 +64,11 @@ if submit:
71
  html_str = f"""<style>p.a {{font: bold {28}px Courier;color:#1D5D9B;}}</style><p class="a">{result}</p>"""
72
  st.markdown(html_str, unsafe_allow_html=True)
73
 
 
 
 
 
 
 
 
 
 
42
 
43
  st.write(dataframe)
44
 
 
 
 
 
 
 
 
45
  user_input_abstract = st.text_area(label = 'abstract', value = dataframe['abstract'][0])
46
  user_input_claims = st.text_area(label = 'claims', value = dataframe['claims'][0])
47
  form = st.form(key='abstract-claims-form')
 
64
  html_str = f"""<style>p.a {{font: bold {28}px Courier;color:#1D5D9B;}}</style><p class="a">{result}</p>"""
65
  st.markdown(html_str, unsafe_allow_html=True)
66
 
67
+ tuple_of_choices = ('patent_number', 'title', 'background', 'summary', 'description')
68
+
69
+ # steamlit form
70
+ option = st.selectbox('Which other sections would you like to view?', tuple_of_choices)
71
+
72
+ st.write('You selected:', option)
73
+
74
+ user_input_other = st.text_area(label = 'other', value = dataframe[option][0])