summaryrefslogtreecommitdiffstats
path: root/gui/streamlit_chat_app.py
diff options
context:
space:
mode:
authornoptuno <repollo.marrero@gmail.com>2023-04-28 02:48:00 +0200
committernoptuno <repollo.marrero@gmail.com>2023-04-28 02:48:00 +0200
commit104e58a3421665fc3acfd7fea8e1317fe1181c6d (patch)
tree092030df5d098e91908622dd0d991f591bd555be /gui/streamlit_chat_app.py
parentResolved merge conflicts and merged pr_218 into STREAMLIT_CHAT_IMPLEMENTATION (diff)
downloadgpt4free-104e58a3421665fc3acfd7fea8e1317fe1181c6d.tar
gpt4free-104e58a3421665fc3acfd7fea8e1317fe1181c6d.tar.gz
gpt4free-104e58a3421665fc3acfd7fea8e1317fe1181c6d.tar.bz2
gpt4free-104e58a3421665fc3acfd7fea8e1317fe1181c6d.tar.lz
gpt4free-104e58a3421665fc3acfd7fea8e1317fe1181c6d.tar.xz
gpt4free-104e58a3421665fc3acfd7fea8e1317fe1181c6d.tar.zst
gpt4free-104e58a3421665fc3acfd7fea8e1317fe1181c6d.zip
Diffstat (limited to '')
-rw-r--r--gui/streamlit_chat_app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/streamlit_chat_app.py b/gui/streamlit_chat_app.py
index 09d53bcf..aee3563e 100644
--- a/gui/streamlit_chat_app.py
+++ b/gui/streamlit_chat_app.py
@@ -5,10 +5,11 @@ sys.path.append(os.path.join(os.path.dirname(__file__), os.path.pardir))
import streamlit as st
from streamlit_chat import message
-from query_methods import query, avail_query_methods
+from query_methods import query
import pickle
import openai_rev
+
conversations_file = "conversations.pkl"
def load_conversations():
@@ -71,7 +72,6 @@ if st.sidebar.button("New Conversation"):
st.session_state['current_conversation'] = {'user_inputs': [], 'generated_responses': []}
st.session_state['input_field_key'] += 1
-print(openai_rev.Provider.__methods__.keys())
st.session_state['query_method'] = st.sidebar.selectbox(
"Select API:",
options=openai_rev.Provider.__members__.keys(),