adrien.aribaut-gaudin commited on
Commit
9a9d439
·
1 Parent(s): e9ed6a8

modified config file

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. config.py +1 -1
app.py CHANGED
@@ -25,10 +25,10 @@ if not "OPENAI_API_KEY" in os.environ:
25
  # pretty_printer_paragraphs(doc.container.paragraphs)
26
  # pretty_print_container_structure(doc.container)
27
 
28
- if not os.path.exists("Ilumio_chatbot/database/"):
29
- os.makedirs("Ilumio_chatbot/database/")
30
 
31
- client_db = chromadb.PersistentClient(path="Ilumio_chatbot/database/")
32
 
33
  try:
34
  client_db.get_collection(name="illumio_database")
 
25
  # pretty_printer_paragraphs(doc.container.paragraphs)
26
  # pretty_print_container_structure(doc.container)
27
 
28
+ if not os.path.exists("database/"):
29
+ os.makedirs("database/")
30
 
31
+ client_db = chromadb.PersistentClient(path="database/")
32
 
33
  try:
34
  client_db.get_collection(name="illumio_database")
config.py CHANGED
@@ -1,6 +1,6 @@
1
  content_language = 'en'
2
  plan_language = 'en'
3
- content_en_path_real = "Ilumio_chatbot/data/Illumio_Core_REST_API_Developer_Guide_23.3.pdf"
4
  content_test = "Ilumio_chatbot/data/Test/Test_children.pdf"
5
 
6
 
 
1
  content_language = 'en'
2
  plan_language = 'en'
3
+ content_en_path_real = "data/Illumio_Core_REST_API_Developer_Guide_23.3.pdf"
4
  content_test = "Ilumio_chatbot/data/Test/Test_children.pdf"
5
 
6