oceansweep commited on
Commit
dbb0597
1 Parent(s): 8f98088

Update App_Function_Libraries/Gradio_UI/Embeddings_tab.py

Browse files
App_Function_Libraries/Gradio_UI/Embeddings_tab.py CHANGED
@@ -277,14 +277,9 @@ def create_embeddings_tab():
277
 
278
 
279
  def create_view_embeddings_tab():
280
- # Load configuration first
281
- config = load_and_log_configs()
282
- if not config:
283
- raise ValueError("Could not load configuration")
284
 
285
  # Get database paths from config
286
- db_config = config['db_config']
287
- media_db_path = db_config['sqlite_path']
288
  rag_qa_db_path = os.path.join(os.path.dirname(media_db_path), "rag_chat.db")
289
  character_chat_db_path = os.path.join(os.path.dirname(media_db_path), "character_chat.db")
290
  chroma_db_path = db_config['chroma_db_path']
 
277
 
278
 
279
  def create_view_embeddings_tab():
 
 
 
 
280
 
281
  # Get database paths from config
282
+ media_db_path = os.path.join(os.path.dirname(media_db_path), "media_summary.db")
 
283
  rag_qa_db_path = os.path.join(os.path.dirname(media_db_path), "rag_chat.db")
284
  character_chat_db_path = os.path.join(os.path.dirname(media_db_path), "character_chat.db")
285
  chroma_db_path = db_config['chroma_db_path']