Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

[Bugfix] fix ec dev command for hf spaces (#1168)

Deven Patel7444f59e3ce7
diff --git a/embedchain/app.py b/embedchain/app.py
index 966f5b6e8..e2f931ca5 100644
--- a/embedchain/app.py
+++ b/embedchain/app.py
@@ -11,14 +11,9 @@ import requests
import yaml
from tqdm import tqdm
-from embedchain.cache import (
- Config,
- ExactMatchEvaluation,
- SearchDistanceEvaluation,
- cache,
- gptcache_data_manager,
- gptcache_pre_function,
-)
+from embedchain.cache import (Config, ExactMatchEvaluation,
+ SearchDistanceEvaluation, cache,
+ gptcache_data_manager, gptcache_pre_function)
from embedchain.client import Client
from embedchain.config import AppConfig, CacheConfig, ChunkerConfig
from embedchain.constants import SQLITE_PATH
@@ -26,7 +21,8 @@ from embedchain.embedchain import EmbedChain
from embedchain.embedder.base import BaseEmbedder
from embedchain.embedder.openai import OpenAIEmbedder
from embedchain.evaluation.base import BaseMetric
-from embedchain.evaluation.metrics import AnswerRelevance, ContextRelevance, Groundedness
+from embedchain.evaluation.metrics import (AnswerRelevance, ContextRelevance,
+ Groundedness)
from embedchain.factory import EmbedderFactory, LlmFactory, VectorDBFactory
from embedchain.helpers.json_serializable import register_deserializable
from embedchain.llm.base import BaseLlm
diff --git a/embedchain/cli.py b/embedchain/cli.py
index c573382b1..3ced1afde 100644
--- a/embedchain/cli.py
+++ b/embedchain/cli.py
@@ -292,7 +292,7 @@ def dev(debug, host, port):
run_dev_modal_com()
elif template == "render.com":
run_dev_render_com(debug, host, port)
- elif template == "streamlit.io" or template == "hf/streamlit.app":
+ elif template == "streamlit.io" or template == "hf/streamlit.io":
run_dev_streamlit_io()
elif template == "gradio.app" or template == "hf/gradio.app":
run_dev_gradio()
diff --git a/pyproject.toml b/pyproject.toml
index 431f83241..4abe8d80e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "embedchain"
-version = "0.1.64"
+version = "0.1.65"
description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data"
authors = [
"Taranjeet Singh <[email protected]>",