cryogenic22 commited on
Commit
931e3ea
·
verified ·
1 Parent(s): eec1ca6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -12
app.py CHANGED
@@ -3,19 +3,16 @@
3
  import streamlit as st
4
  import os
5
  from pathlib import Path
 
 
 
 
 
6
  from components.chat import display_chat_interface
7
- from utils.database import (
8
- create_connection,
9
- create_tables,
10
- handle_document_upload,
11
- verify_vector_store
12
- )
13
- from utils.collections import (
14
- create_collection_tables,
15
- get_collections,
16
- get_collection_documents,
17
- create_collection,
18
- add_document_to_collection
19
  )
20
  import time
21
  from threading import Lock
 
3
  import streamlit as st
4
  import os
5
  from pathlib import Path
6
+ from typing import List, Dict, Optional
7
+ from datetime import datetime
8
+ from threading import Lock
9
+
10
+ # Components imports
11
  from components.chat import display_chat_interface
12
+ from components.document_preview import enhanced_document_preview
13
+ from components.collection_manager import (
14
+ display_enhanced_collections,
15
+ display_collection_content
 
 
 
 
 
 
 
 
16
  )
17
  import time
18
  from threading import Lock