Spaces:
Build error
Build error
Create __init__.py
Browse files- __init__.py +21 -0
__init__.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# __init__.py
|
| 2 |
+
from .chat import display_chat_interface
|
| 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
|