Spaces:
Sleeping
Sleeping
Update model for gpt-4o-mini.
Browse files- SNOMED-CT_Assistant.py +3 -3
SNOMED-CT_Assistant.py
CHANGED
@@ -10,9 +10,9 @@ import pandas as pd
|
|
10 |
# Config Streamlit
|
11 |
st.set_page_config(layout="wide")
|
12 |
|
13 |
-
|
14 |
|
15 |
-
if
|
16 |
with st.sidebar:
|
17 |
if 'OPENAI_API_TOKEN' in st.secrets:
|
18 |
st.success('API key already provided!', icon='✅')
|
@@ -111,7 +111,7 @@ def get_dict_from_chroma_results(results):
|
|
111 |
|
112 |
# OpenAI Client Configuration
|
113 |
client = OpenAI(api_key=openai_api_key)
|
114 |
-
model_tag = "gpt-
|
115 |
|
116 |
# Chat Session with OpenAI API
|
117 |
def chat_input(prompt, med_text):
|
|
|
10 |
# Config Streamlit
|
11 |
st.set_page_config(layout="wide")
|
12 |
|
13 |
+
REMOTE = True
|
14 |
|
15 |
+
if REMOTE:
|
16 |
with st.sidebar:
|
17 |
if 'OPENAI_API_TOKEN' in st.secrets:
|
18 |
st.success('API key already provided!', icon='✅')
|
|
|
111 |
|
112 |
# OpenAI Client Configuration
|
113 |
client = OpenAI(api_key=openai_api_key)
|
114 |
+
model_tag = "gpt-4o-mini"
|
115 |
|
116 |
# Chat Session with OpenAI API
|
117 |
def chat_input(prompt, med_text):
|