awacke1 commited on
Commit
15d4ccd
โ€ข
1 Parent(s): c0700eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -637,8 +637,8 @@ Example: letter_queue = deque(random.sample(string.ascii_uppercase, 10))"""
637
  st.markdown(result)
638
 
639
  # experimental 45 - - - - - - - - - - - - -<><><><><>
640
- if result:
641
- session_state["search_queries"].append(query)
642
  #if query:
643
  # search_arxiv(query)
644
  # search_glossary(query)
@@ -648,6 +648,8 @@ Example: letter_queue = deque(random.sample(string.ascii_uppercase, 10))"""
648
 
649
  # ๐Ÿ”Run PaperSummarizer - plain query
650
  PaperSummarizer = ' Create a diagram graphical representation of this: Summarize this paper set with short emoji outlines and preserve links, shortening it significantly. Create emoji filled short summaries per paper structured as markdown tables and outlines and show full markdown code listing. '
 
 
651
  response = chat_with_model45(PaperSummarizer + result)
652
  all = query + ' ' + response
653
  st.write('๐Ÿ”Run Paper Summarizer is Complete.')
 
637
  st.markdown(result)
638
 
639
  # experimental 45 - - - - - - - - - - - - -<><><><><>
640
+ #if result:
641
+ #session_state["search_queries"].append(query)
642
  #if query:
643
  # search_arxiv(query)
644
  # search_glossary(query)
 
648
 
649
  # ๐Ÿ”Run PaperSummarizer - plain query
650
  PaperSummarizer = ' Create a diagram graphical representation of this: Summarize this paper set with short emoji outlines and preserve links, shortening it significantly. Create emoji filled short summaries per paper structured as markdown tables and outlines and show full markdown code listing. '
651
+ result = str(result).replace('\n', ' ').replace('|', ' ')
652
+
653
  response = chat_with_model45(PaperSummarizer + result)
654
  all = query + ' ' + response
655
  st.write('๐Ÿ”Run Paper Summarizer is Complete.')