sidphbot commited on
Commit
bbcee6e
1 Parent(s): 5e33e5d

delayed survey header

Browse files
Files changed (2) hide show
  1. app.py +6 -6
  2. src/Surveyor.py +1 -0
app.py CHANGED
@@ -83,9 +83,9 @@ if __name__ == '__main__':
83
  '(draft paper format) and other interesting artifacts from a single research query or a curated set of papers(arxiv ids).')
84
  st.write('##### Data Provider: arXiv Open Archive Initiative OAI')
85
  st.sidebar.image(Image.open('logo.png'), use_column_width = 'always')
86
- std_col, survey_col = st.columns(2)
87
- std_col.write('#### execution log:')
88
- survey_col.write('#### Generated_survey:')
89
- download_placeholder = survey_col.container()
90
- surveyor_obj = get_surveyor_instance(_print_fn=std_col.write, _survey_print_fn=survey_col.write)
91
- survey_space(surveyor_obj, survey_col)
 
83
  '(draft paper format) and other interesting artifacts from a single research query or a curated set of papers(arxiv ids).')
84
  st.write('##### Data Provider: arXiv Open Archive Initiative OAI')
85
  st.sidebar.image(Image.open('logo.png'), use_column_width = 'always')
86
+ survey_row = st.container()
87
+ std_row = st.container()
88
+ std_row.write('#### execution log:')
89
+ std_col, download_placeholder = std_row.columns(2)
90
+ surveyor_obj = get_surveyor_instance(_print_fn=std_col.write, _survey_print_fn=survey_row.write)
91
+ survey_space(surveyor_obj, download_placeholder)
src/Surveyor.py CHANGED
@@ -347,6 +347,7 @@ class Surveyor:
347
  file = open(filename, 'w+')
348
  if query is None:
349
  query = 'Internal(existing) research'
 
350
  file.write("----------------------------------------------------------------------")
351
  file.write("Title: A survey on " + query)
352
  self.survey_print_fn("")
 
347
  file = open(filename, 'w+')
348
  if query is None:
349
  query = 'Internal(existing) research'
350
+ self.survey_print_fn("#### Generated_survey:")
351
  file.write("----------------------------------------------------------------------")
352
  file.write("Title: A survey on " + query)
353
  self.survey_print_fn("")