awacke1 commited on
Commit
ca88193
·
verified ·
1 Parent(s): 6aab454

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -769,9 +769,10 @@ def perform_ai_lookup(q, vocal_summary=True, extended_refs=False,
769
  # True,
770
  # api_name="/ask_llm"
771
  #)
772
-
773
  #result = f"### 🔎 {q}\n\n{r2}\n\n{refs}"
774
- result = f"🔎 {r2}\n\n{refs}"
 
 
775
  md_file, audio_file = save_qa_with_audio(q, result)
776
  st.subheader("📝 Main Response Audio")
777
  play_and_download_audio(audio_file, st.session_state['audio_format'])
 
769
  # True,
770
  # api_name="/ask_llm"
771
  #)
 
772
  #result = f"### 🔎 {q}\n\n{r2}\n\n{refs}"
773
+
774
+ result = f"🔎 {q}\n\n{refs}" # use original question q with result paired with paper references for best prompt fortification
775
+
776
  md_file, audio_file = save_qa_with_audio(q, result)
777
  st.subheader("📝 Main Response Audio")
778
  play_and_download_audio(audio_file, st.session_state['audio_format'])