awacke1 commited on
Commit
390f1f8
·
verified ·
1 Parent(s): ce7c4f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -614,17 +614,19 @@ def main():
614
  result = perform_ai_lookup(edited_input, vocal_summary=True, extended_refs=False,
615
  titles_summary=True, full_audio=full_audio)
616
 
 
617
  if tab_main == "🔍 ArXiv":
618
  st.subheader("🔍 Query ArXiv")
619
- q = st.text_input("🔍 Query:")
620
-
621
  st.markdown("### 🎛 Options")
622
- vocal_summary = st.checkbox("🎙ShortAudio", value=True)
623
- extended_refs = st.checkbox("📜LongRefs", value=False)
624
- titles_summary = st.checkbox("🔖TitlesOnly", value=True)
625
- full_audio = st.checkbox("📚FullAudio", value=False)
626
- full_transcript = st.checkbox("🧾FullTranscript", value=False)
627
-
 
628
  if q and st.button("🔍Run"):
629
  st.session_state.last_query = q
630
  result = perform_ai_lookup(q, vocal_summary=vocal_summary, extended_refs=extended_refs,
 
614
  result = perform_ai_lookup(edited_input, vocal_summary=True, extended_refs=False,
615
  titles_summary=True, full_audio=full_audio)
616
 
617
+
618
  if tab_main == "🔍 ArXiv":
619
  st.subheader("🔍 Query ArXiv")
620
+ q = st.text_input("🔍 Query:", key="arxiv_query")
621
+
622
  st.markdown("### 🎛 Options")
623
+ vocal_summary = st.checkbox("🎙ShortAudio", value=True, key="option_vocal_summary")
624
+ extended_refs = st.checkbox("📜LongRefs", value=False, key="option_extended_refs")
625
+ titles_summary = st.checkbox("🔖TitlesOnly", value=True, key="option_titles_summary")
626
+ full_audio = st.checkbox("📚FullAudio", value=False, key="option_full_audio")
627
+ full_transcript = st.checkbox("🧾FullTranscript", value=False, key="option_full_transcript")
628
+
629
+
630
  if q and st.button("🔍Run"):
631
  st.session_state.last_query = q
632
  result = perform_ai_lookup(q, vocal_summary=vocal_summary, extended_refs=extended_refs,