[Bugfix] Fix issue of "unable to open database file" (#945)
This commit is contained in:
@@ -134,6 +134,9 @@ class App(EmbedChain):
|
|||||||
:return: An instance of the App class.
|
:return: An instance of the App class.
|
||||||
:rtype: App
|
:rtype: App
|
||||||
"""
|
"""
|
||||||
|
# Setup user directory if it doesn't exist already
|
||||||
|
Client.setup_dir()
|
||||||
|
|
||||||
with open(yaml_path, "r") as file:
|
with open(yaml_path, "r") as file:
|
||||||
config_data = yaml.safe_load(file)
|
config_data = yaml.safe_load(file)
|
||||||
|
|
||||||
|
|||||||
@@ -357,6 +357,9 @@ class Pipeline(EmbedChain):
|
|||||||
:return: An instance of the Pipeline class.
|
:return: An instance of the Pipeline class.
|
||||||
:rtype: Pipeline
|
:rtype: Pipeline
|
||||||
"""
|
"""
|
||||||
|
# Setup user directory if it doesn't exist already
|
||||||
|
Client.setup_dir()
|
||||||
|
|
||||||
with open(yaml_path, "r") as file:
|
with open(yaml_path, "r") as file:
|
||||||
config_data = yaml.safe_load(file)
|
config_data = yaml.safe_load(file)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "embedchain"
|
name = "embedchain"
|
||||||
version = "0.1.8"
|
version = "0.1.9"
|
||||||
description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data"
|
description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data"
|
||||||
authors = [
|
authors = [
|
||||||
"Taranjeet Singh <taranjeet@embedchain.ai>",
|
"Taranjeet Singh <taranjeet@embedchain.ai>",
|
||||||
|
|||||||
Reference in New Issue
Block a user