ppsingh commited on
Commit
91829c7
1 Parent(s): 6f76a2b

target stats

Browse files
Files changed (1) hide show
  1. appStore/target.py +4 -4
appStore/target.py CHANGED
@@ -132,16 +132,16 @@ def target_display():
132
  # hits.iloc[i]['GHG Label'],hits.iloc[i]['Adapt-Mitig Label']))
133
  # st.write("\t Text: \t{}".format(hits.iloc[i]['text'].replace("\n", " ")))
134
  # hits = hits.reset_index(drop =True)
135
- # st.write('----------------')
136
- # st.write('Explore the data')
137
- # st.write(hits)
138
  df_xlsx = to_excel(df)
139
 
140
  with st.sidebar:
141
  st.write('-------------')
142
  st.download_button(label='📥 Download Result',
143
  data=df_xlsx ,
144
- file_name= os.path.splitext(st.session_state['filename'])[0]+'.xlsx')
145
 
146
  # else:
147
  # st.info("🤔 No Targets found")
 
132
  # hits.iloc[i]['GHG Label'],hits.iloc[i]['Adapt-Mitig Label']))
133
  # st.write("\t Text: \t{}".format(hits.iloc[i]['text'].replace("\n", " ")))
134
  # hits = hits.reset_index(drop =True)
135
+ st.write('----------------')
136
+ st.write('Explore the data')
137
+ st.write(hits)
138
  df_xlsx = to_excel(df)
139
 
140
  with st.sidebar:
141
  st.write('-------------')
142
  st.download_button(label='📥 Download Result',
143
  data=df_xlsx ,
144
+ file_name= os.path.splitext(os.path.basename(st.session_state['filename']))[0]+'.xlsx')
145
 
146
  # else:
147
  # st.info("🤔 No Targets found")