Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -3
src/streamlit_app.py
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
from
|
| 3 |
-
from
|
| 4 |
|
| 5 |
# ------------------------------------
|
| 6 |
# 1. Streamlit basic setup
|
| 7 |
# ------------------------------------
|
| 8 |
st.set_page_config(page_title="RAG Search", page_icon="🔍")
|
| 9 |
|
| 10 |
-
DB_PATH = "sumedha.
|
| 11 |
query = st.text_input("Enter your query:", "what is verilog")
|
| 12 |
|
| 13 |
# ------------------------------------
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
from langchain_community.vectorstores import Chroma
|
| 3 |
+
from langchain_community.embeddings import HuggingFaceEmbeddings
|
| 4 |
|
| 5 |
# ------------------------------------
|
| 6 |
# 1. Streamlit basic setup
|
| 7 |
# ------------------------------------
|
| 8 |
st.set_page_config(page_title="RAG Search", page_icon="🔍")
|
| 9 |
|
| 10 |
+
DB_PATH = "sumedha.sqlit3" # e.g. "./chroma_db"
|
| 11 |
query = st.text_input("Enter your query:", "what is verilog")
|
| 12 |
|
| 13 |
# ------------------------------------
|