Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from langchain_community.vectorstores import Chroma
|
|
6 |
import streamlit as st
|
7 |
|
8 |
lang = st.radio("Choose Language:",
|
9 |
-
["English", "Chinese"]
|
10 |
captions= ['Support in English', 'Chinese QnA'])
|
11 |
if lang == "English":
|
12 |
embedding_function = SentenceTransformerEmbeddings(model_name="all-mpnet-base-v2")
|
|
|
6 |
import streamlit as st
|
7 |
|
8 |
lang = st.radio("Choose Language:",
|
9 |
+
["English", "Chinese"],
|
10 |
captions= ['Support in English', 'Chinese QnA'])
|
11 |
if lang == "English":
|
12 |
embedding_function = SentenceTransformerEmbeddings(model_name="all-mpnet-base-v2")
|