Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -562,7 +562,7 @@ def main():
|
|
| 562 |
elif model_choice == "Claude-3":
|
| 563 |
claude_response = process_with_claude(user_input)
|
| 564 |
else: # Both
|
| 565 |
-
col1, col2 = st.columns(
|
| 566 |
with col2:
|
| 567 |
st.subheader("Claude-3.5 Sonnet:")
|
| 568 |
try:
|
|
@@ -575,6 +575,12 @@ def main():
|
|
| 575 |
gpt_response = process_with_gpt(user_input)
|
| 576 |
except:
|
| 577 |
st.write('GPT 4o out of tokens')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 578 |
# Display Chat History
|
| 579 |
st.subheader("Chat History 📜")
|
| 580 |
tab1, tab2 = st.tabs(["Claude History", "GPT-4o History"])
|
|
|
|
| 562 |
elif model_choice == "Claude-3":
|
| 563 |
claude_response = process_with_claude(user_input)
|
| 564 |
else: # Both
|
| 565 |
+
col1, col2, col3 = st.columns(3)
|
| 566 |
with col2:
|
| 567 |
st.subheader("Claude-3.5 Sonnet:")
|
| 568 |
try:
|
|
|
|
| 575 |
gpt_response = process_with_gpt(user_input)
|
| 576 |
except:
|
| 577 |
st.write('GPT 4o out of tokens')
|
| 578 |
+
with col3:
|
| 579 |
+
st.subheader("Arxiv and Mistral Research:")
|
| 580 |
+
with st.spinner("Searching ArXiv..."):
|
| 581 |
+
results = search_arxiv(query)
|
| 582 |
+
st.markdown(results)
|
| 583 |
+
|
| 584 |
# Display Chat History
|
| 585 |
st.subheader("Chat History 📜")
|
| 586 |
tab1, tab2 = st.tabs(["Claude History", "GPT-4o History"])
|