diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/query_methods.py | 1 | ||||
-rw-r--r-- | gui/streamlit_chat_app.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/gui/query_methods.py b/gui/query_methods.py index 733c3a07..08a81b64 100644 --- a/gui/query_methods.py +++ b/gui/query_methods.py @@ -47,7 +47,6 @@ def query_you(question: str) -> str: try: result = you.Completion.create( prompt = question) - return result.text except Exception as e: diff --git a/gui/streamlit_chat_app.py b/gui/streamlit_chat_app.py index f64d43f0..09d53bcf 100644 --- a/gui/streamlit_chat_app.py +++ b/gui/streamlit_chat_app.py @@ -71,6 +71,7 @@ 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(), |