Browse Source

Chatbot train w/ instructions

donzito 2 years ago
parent
commit
319af2f063
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .gitignore
  2. 1 1
      chatbot/main.py

+ 1 - 0
.gitignore

@@ -1,2 +1,3 @@
 /storage
 /storage/*
+.DS_Store

+ 1 - 1
chatbot/main.py

@@ -79,7 +79,7 @@ class Chatbot():
             })
 
         else:
-            blob_dir = 'docs/'
+            # blob_dir = 'docs/'
             blobs = self.media_storage.list(self.storage_path + '/' + blob_dir)
             for blob in blobs:
                 text = blob.download_as_bytes().decode('utf-8')