Spaces:
Paused
Paused
Create __init__.py
Browse files- __init__.py +3 -20
__init__.py
CHANGED
|
@@ -1,21 +1,4 @@
|
|
| 1 |
-
# __init__.py
|
| 2 |
-
from .
|
| 3 |
-
from .knowledge_base import display_knowledge_base, handle_doc_select, handle_start_chat
|
| 4 |
-
from .upload import handle_document_upload
|
| 5 |
|
| 6 |
-
__all__ = [
|
| 7 |
-
'display_chat_interface',
|
| 8 |
-
'display_knowledge_base',
|
| 9 |
-
'handle_doc_select',
|
| 10 |
-
'handle_start_chat',
|
| 11 |
-
'handle_document_upload'
|
| 12 |
-
]
|
| 13 |
-
|
| 14 |
-
# chat.py
|
| 15 |
-
# Copy the chat component code here
|
| 16 |
-
|
| 17 |
-
# knowledge_base.py
|
| 18 |
-
# Copy the knowledge base component code here
|
| 19 |
-
|
| 20 |
-
# upload.py
|
| 21 |
-
# Copy the upload component code here
|
|
|
|
| 1 |
+
# src/config/__init__.py
|
| 2 |
+
from .settings import APP_SETTINGS
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
__all__ = ['APP_SETTINGS']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|