oceansweep commited on
Commit
8c3c78f
·
verified ·
1 Parent(s): be0884e

Update App_Function_Libraries/Gradio_UI/Embeddings_tab.py

Browse files
App_Function_Libraries/Gradio_UI/Embeddings_tab.py CHANGED
@@ -29,12 +29,8 @@ from App_Function_Libraries.Utils.Utils import load_and_log_configs
29
 
30
  def create_embeddings_tab():
31
  # Load configuration first
32
- config = load_and_log_configs()
33
- if not config:
34
- raise ValueError("Could not load configuration")
35
 
36
  # Get database paths from config
37
- db_config = config['db_config']
38
  media_db_path = 'Databases/media_summary.db'
39
  character_chat_db_path = os.path.join(os.path.dirname(media_db_path), "chatDB.db")
40
  rag_chat_db_path = os.path.join(os.path.dirname(media_db_path), "rag_qa.db")
 
29
 
30
  def create_embeddings_tab():
31
  # Load configuration first
 
 
 
32
 
33
  # Get database paths from config
 
34
  media_db_path = 'Databases/media_summary.db'
35
  character_chat_db_path = os.path.join(os.path.dirname(media_db_path), "chatDB.db")
36
  rag_chat_db_path = os.path.join(os.path.dirname(media_db_path), "rag_qa.db")