Merge branch 'zustand/io/migration' into cz/new-tests

This commit is contained in:
cristhianzl 2024-04-01 16:47:11 -03:00
commit cdf9ac9da0
7 changed files with 1794 additions and 1101 deletions

View file

@ -99,6 +99,7 @@ endif
start:
@echo 'Running the CLI'
@make install_backend
ifeq ($(open_browser),false)
poetry run langflow run --path src/frontend/build --log-level $(log_level) --host $(host) --port $(port) --env-file $(env) --no-open-browser
else
@ -137,7 +138,7 @@ ifeq ($(login),1)
poetry run uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --env-file .env --loop asyncio
else
@echo "Running backend with autologin";
LANGFLOW_AUTO_LOGIN=True poetry run uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --env-file .env
LANGFLOW_AUTO_LOGIN=True poetry run uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --env-file .env --loop asyncio
endif
build_and_run:

View file

@ -1,20 +1,30 @@
# 🤗 HuggingFace Spaces
A fully featured version of Langflow can be accessed via HuggingFace spaces with no installation required.
## TLDR;
import ThemedImage from "@theme/ThemedImage";
import useBaseUrl from "@docusaurus/useBaseUrl";
import ZoomableImage from "/src/theme/ZoomableImage.js";
A fully featured version of Langflow can be accessed via [HuggingFace Spaces](https://huggingface.co/spaces/Logspace/Langflow?duplicate=true) with no installation required. All you gotta do is [duplicate the Space](https://huggingface.co/spaces/Logspace/Langflow?duplicate=true) and you'll have your own copy to play around with!
{" "}
---
# 🚀 Getting Started
HuggingFace provides great support for running Langflow in their Spaces environment. This means you can run Langflow without any installation required.
The first step is to go to the [Langflow Space](https://huggingface.co/spaces/Logspace/Langflow?duplicate=true).
You'll be greeted with the following screen:
<ZoomableImage
alt="Docusaurus themed image"
sources={{
light: "img/hugging-face.png",
dark: "img/hugging-face.png",
light: "img/duplicate-space.png",
dark: "img/duplicate-space.png",
}}
style={{ width: "100%" }}
/>
Check out Langflow on [HuggingFace Spaces](https://huggingface.co/spaces/Logspace/Langflow).
From here, you can rename your Space, define the visibility (Public or Private) and click on the `Duplicate Space` button to start the duplication process.
import ThemedImage from "@theme/ThemedImage";
import useBaseUrl from "@docusaurus/useBaseUrl";
import ZoomableImage from "/src/theme/ZoomableImage.js";

BIN
docs/static/img/duplicate-space.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1129,7 +1129,7 @@
}
},
"description": "This project can be used as a starting point for building a Chat experience with user specific memory. You can set a different Session ID to start a new message history.",
"name": "Conversation with Memory",
"name": "Chatbot with Memory",
"last_tested_version": "1.0.0a0",
"is_component": false
}