Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -398,7 +398,7 @@ def process_with_claude(text_input):
|
|
398 |
st.write("Claude: " + response_text)
|
399 |
|
400 |
#filename = generate_filename(text_input, "md")
|
401 |
-
filename = generate_filename("
|
402 |
create_file(filename, text_input, response_text)
|
403 |
|
404 |
st.session_state.chat_history.append({
|
@@ -564,10 +564,10 @@ def main():
|
|
564 |
else: # Both
|
565 |
col1, col2 = st.columns(2)
|
566 |
with col1:
|
567 |
-
st.subheader("GPT-4o
|
568 |
gpt_response = process_with_gpt(user_input)
|
569 |
with col2:
|
570 |
-
st.subheader("Claude-3
|
571 |
claude_response = process_with_claude(user_input)
|
572 |
|
573 |
# Display Chat History
|
|
|
398 |
st.write("Claude: " + response_text)
|
399 |
|
400 |
#filename = generate_filename(text_input, "md")
|
401 |
+
filename = generate_filename("Claude: " + response_text, "md")
|
402 |
create_file(filename, text_input, response_text)
|
403 |
|
404 |
st.session_state.chat_history.append({
|
|
|
564 |
else: # Both
|
565 |
col1, col2 = st.columns(2)
|
566 |
with col1:
|
567 |
+
st.subheader("GPT-4o Omni:")
|
568 |
gpt_response = process_with_gpt(user_input)
|
569 |
with col2:
|
570 |
+
st.subheader("Claude-3.5 Sonnet:")
|
571 |
claude_response = process_with_claude(user_input)
|
572 |
|
573 |
# Display Chat History
|