DrishtiSharma commited on
Commit
373e851
·
verified ·
1 Parent(s): 8f5642b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -30,7 +30,6 @@ rag_llm.verbose = True
30
  # Clear ChromaDB cache to fix tenant issue
31
  chromadb.api.client.SharedSystemClient.clear_system_cache()
32
 
33
- # st.title("Blah")
34
 
35
  # ----------------- ChromaDB Persistent Directory -----------------
36
  CHROMA_DB_DIR = "/mnt/data/chroma_db"
@@ -48,7 +47,7 @@ if "processed_chunks" not in st.session_state:
48
  if "vector_store" not in st.session_state:
49
  st.session_state.vector_store = None
50
 
51
- # ----------------- Metadata Extraction -----------------
52
  # ----------------- Metadata Extraction -----------------
53
  def extract_metadata_llm(pdf_path):
54
  """Extracts metadata using LLM instead of regex and logs progress in Streamlit UI."""
 
30
  # Clear ChromaDB cache to fix tenant issue
31
  chromadb.api.client.SharedSystemClient.clear_system_cache()
32
 
 
33
 
34
  # ----------------- ChromaDB Persistent Directory -----------------
35
  CHROMA_DB_DIR = "/mnt/data/chroma_db"
 
47
  if "vector_store" not in st.session_state:
48
  st.session_state.vector_store = None
49
 
50
+
51
  # ----------------- Metadata Extraction -----------------
52
  def extract_metadata_llm(pdf_path):
53
  """Extracts metadata using LLM instead of regex and logs progress in Streamlit UI."""