ArturG9 commited on
Commit
e1ca13f
1 Parent(s): 0772e8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -29,12 +29,7 @@ os.environ["LANGCHAIN_ENDPOINT"] = "https://api.langchain.plus"
29
  os.environ["LANGCHAIN_API_KEY"] = lang_api_key
30
  os.environ["LANGCHAIN_PROJECT"] = "Lithuanian_Law_RAG_QA"
31
 
32
- def remove_directory(path):
33
- if os.path.exists(path):
34
- shutil.rmtree(path)
35
- print(f"Directory {path} removed successfully.")
36
- else:
37
- print(f"Directory {path} does not exist.")
38
 
39
 
40
 
@@ -175,5 +170,5 @@ def create_conversational_rag_chain(retriever):
175
 
176
 
177
 
178
- #if __name__ == "__main__":
179
- # main()
 
29
  os.environ["LANGCHAIN_API_KEY"] = lang_api_key
30
  os.environ["LANGCHAIN_PROJECT"] = "Lithuanian_Law_RAG_QA"
31
 
32
+
 
 
 
 
 
33
 
34
 
35
 
 
170
 
171
 
172
 
173
+ if __name__ == "__main__":
174
+ main()