MohsenParsa commited on
Commit
a0b3d34
·
verified ·
1 Parent(s): 9945fa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -16,6 +16,9 @@ from langchain_text_splitters import RecursiveCharacterTextSplitter
16
  from langchain_core.callbacks import BaseCallbackHandler
17
  from langchain_community.document_loaders import TextLoader
18
 
 
 
 
19
  local_path = "/content/drive/MyDrive/Model/aya-23-8B-Q3_K_S.gguf" # "/content/drive/MyDrive/Dorna-Llama3-8B-Instruct.Q5_0.gguf" #
20
  model_path = "/content/drive/MyDrive/Model/labse.Q3_K_S.gguf" # "/content/drive/MyDrive/labse.Q6_K.gguf" #
21
  text_path = "/content/drive/MyDrive/gpt4all/docs/Books/chmn.txt"
 
16
  from langchain_core.callbacks import BaseCallbackHandler
17
  from langchain_community.document_loaders import TextLoader
18
 
19
+ from google.colab import drive
20
+ drive.mount('/content/drive')
21
+
22
  local_path = "/content/drive/MyDrive/Model/aya-23-8B-Q3_K_S.gguf" # "/content/drive/MyDrive/Dorna-Llama3-8B-Instruct.Q5_0.gguf" #
23
  model_path = "/content/drive/MyDrive/Model/labse.Q3_K_S.gguf" # "/content/drive/MyDrive/labse.Q6_K.gguf" #
24
  text_path = "/content/drive/MyDrive/gpt4all/docs/Books/chmn.txt"