Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,9 +22,6 @@ import threading
|
|
22 |
llm_list = ['Mistral-7B-Instruct-v0.2','Mixtral-8x7B-Instruct-v0.1']
|
23 |
blablador_base = "https://helmholtz-blablador.fz-juelich.de:8000/v1"
|
24 |
# Environment variables
|
25 |
-
os.environ['LANGCHAIN_TRACING_V2'] = 'true'
|
26 |
-
os.environ['LANGCHAIN_ENDPOINT'] = 'https://api.smith.langchain.com'
|
27 |
-
os.environ['LANGCHAIN_API_KEY'] = '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'
|
28 |
directory_path = "ohw_proj_chorma_db"
|
29 |
file_path = "ohw_proj_chorma_db.pcl"
|
30 |
# Function to update your retriever
|
@@ -124,7 +121,7 @@ def clear_chat_history():
|
|
124 |
|
125 |
# Sidebar
|
126 |
with st.sidebar:
|
127 |
-
st.image("
|
128 |
st.title("OHW Assistant")
|
129 |
selected_model = st.sidebar.selectbox('Choose a LLM model',
|
130 |
llm_list,
|
|
|
22 |
llm_list = ['Mistral-7B-Instruct-v0.2','Mixtral-8x7B-Instruct-v0.1']
|
23 |
blablador_base = "https://helmholtz-blablador.fz-juelich.de:8000/v1"
|
24 |
# Environment variables
|
|
|
|
|
|
|
25 |
directory_path = "ohw_proj_chorma_db"
|
26 |
file_path = "ohw_proj_chorma_db.pcl"
|
27 |
# Function to update your retriever
|
|
|
121 |
|
122 |
# Sidebar
|
123 |
with st.sidebar:
|
124 |
+
st.image("logo_no_bg.png", use_column_width=True) # Replace with your actual file path
|
125 |
st.title("OHW Assistant")
|
126 |
selected_model = st.sidebar.selectbox('Choose a LLM model',
|
127 |
llm_list,
|