Преглед на файлове

Chatbot train w/ instructions

donzito преди 2 години
родител
ревизия
319af2f063
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  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')