AIEcosystem commited on
Commit
8434a8c
·
verified ·
1 Parent(s): 191bdf8

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -3
src/streamlit_app.py CHANGED
@@ -84,7 +84,7 @@ with st.sidebar:
84
  st.write("Use the following code to embed the InfoFinder web app on your website. Feel free to adjust the width and height values to fit your page.")
85
  code = '''
86
  <iframe
87
- src="https://aiecosystem-question-answering.hf.space"
88
  frameborder="0"
89
  width="850"
90
  height="450"
@@ -241,8 +241,7 @@ if st.button("Extract Answers"):
241
  experiment.log_metric("processing_time_seconds", elapsed_time)
242
  experiment.log_table("predicted_entities", df)
243
  experiment.log_figure(figure=fig_treemap, figure_name="entity_treemap")
244
- experiment.log_figure(figure=fig_pie, figure_name="entity_pie_chart")
245
- experiment.log_figure(figure=fig_bar, figure_name="entity_bar_chart")
246
  experiment.end()
247
  else:
248
  st.info("No answers were found in the text with the defined questions.")
 
84
  st.write("Use the following code to embed the InfoFinder web app on your website. Feel free to adjust the width and height values to fit your page.")
85
  code = '''
86
  <iframe
87
+ src="https://aiecosystem-infofinder.hf.space"
88
  frameborder="0"
89
  width="850"
90
  height="450"
 
241
  experiment.log_metric("processing_time_seconds", elapsed_time)
242
  experiment.log_table("predicted_entities", df)
243
  experiment.log_figure(figure=fig_treemap, figure_name="entity_treemap")
244
+
 
245
  experiment.end()
246
  else:
247
  st.info("No answers were found in the text with the defined questions.")