Skip to content

Commit

Permalink
[Bug fix] Fix issue of loading other languages in config file (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
deshraj authored Jan 10, 2024
1 parent 3cff5e9 commit 9e24aee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion embedchain/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def from_config(

if config_path:
file_extension = os.path.splitext(config_path)[1]
with open(config_path, "r") as file:
with open(config_path, "r", encoding="UTF-8") as file:
if file_extension in [".yaml", ".yml"]:
config_data = yaml.safe_load(file)
elif file_extension == ".json":
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "embedchain"
version = "0.1.59"
version = "0.1.60"
description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data"
authors = [
"Taranjeet Singh <[email protected]>",
Expand Down

0 comments on commit 9e24aee

Please sign in to comment.