Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def load_vector_store(data_dir: str):
|
|
46 |
except UnicodeDecodeError:
|
47 |
with open(path, 'r', encoding='latin-1') as f: data = json.load(f)
|
48 |
texts.append(flatten_json(data))
|
49 |
-
st.info(f"Loaded {len(texts)} documents.")
|
50 |
|
51 |
st_model = SentenceTransformer('all-MiniLM-L6-v2')
|
52 |
class LocalEmbeddings(Embeddings):
|
@@ -122,7 +122,7 @@ You are a highly experienced college counselor, specializing in helping high sch
|
|
122 |
runner, session = create_agent()
|
123 |
|
124 |
# === STREAMLIT UI ===
|
125 |
-
st.title("🎓
|
126 |
|
127 |
if "history" not in st.session_state:
|
128 |
st.session_state.history = []
|
|
|
46 |
except UnicodeDecodeError:
|
47 |
with open(path, 'r', encoding='latin-1') as f: data = json.load(f)
|
48 |
texts.append(flatten_json(data))
|
49 |
+
# st.info(f"Loaded {len(texts)} documents.")
|
50 |
|
51 |
st_model = SentenceTransformer('all-MiniLM-L6-v2')
|
52 |
class LocalEmbeddings(Embeddings):
|
|
|
122 |
runner, session = create_agent()
|
123 |
|
124 |
# === STREAMLIT UI ===
|
125 |
+
st.title("🎓 Jossa-ChatBot")
|
126 |
|
127 |
if "history" not in st.session_state:
|
128 |
st.session_state.history = []
|