Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -88,9 +88,6 @@ cohere_api_key = os.environ['cohere_api']
|
|
88 |
current_dir = os.getcwd()
|
89 |
|
90 |
|
91 |
-
# Not currently in use
|
92 |
-
prompt_templates = {"All Needs Experts": "Respond as if you are combination of all needs assessment experts."}
|
93 |
-
actor_description = {"All Needs Experts": "<div style='float: left;margin: 0px 5px 0px 5px;'><img src='https://na.weshareresearch.com/wp-content/uploads/2023/04/experts2.jpg' alt='needs expert image' style='width:70px;align:top;'></div>A combination of all needs assessment experts."}
|
94 |
|
95 |
|
96 |
# Initiates the UI features
|
@@ -138,8 +135,7 @@ def langchain_document_loader():
|
|
138 |
Load documents from the temporary directory (TMP_DIR).
|
139 |
Files can be in txt, pdf, CSV or docx format.
|
140 |
"""
|
141 |
-
|
142 |
-
#TMP_DIR = current_dir
|
143 |
global documents
|
144 |
documents = []
|
145 |
|
|
|
88 |
current_dir = os.getcwd()
|
89 |
|
90 |
|
|
|
|
|
|
|
91 |
|
92 |
|
93 |
# Initiates the UI features
|
|
|
135 |
Load documents from the temporary directory (TMP_DIR).
|
136 |
Files can be in txt, pdf, CSV or docx format.
|
137 |
"""
|
138 |
+
|
|
|
139 |
global documents
|
140 |
documents = []
|
141 |
|