瀏覽代碼

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')