Merge branch 'zustand/io/migration' into cz/new-tests
This commit is contained in:
commit
cdf9ac9da0
7 changed files with 1794 additions and 1101 deletions
3
Makefile
3
Makefile
|
|
@ -99,6 +99,7 @@ endif
|
||||||
|
|
||||||
start:
|
start:
|
||||||
@echo 'Running the CLI'
|
@echo 'Running the CLI'
|
||||||
|
@make install_backend
|
||||||
ifeq ($(open_browser),false)
|
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
|
poetry run langflow run --path src/frontend/build --log-level $(log_level) --host $(host) --port $(port) --env-file $(env) --no-open-browser
|
||||||
else
|
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
|
poetry run uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --env-file .env --loop asyncio
|
||||||
else
|
else
|
||||||
@echo "Running backend with autologin";
|
@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
|
endif
|
||||||
|
|
||||||
build_and_run:
|
build_and_run:
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,30 @@
|
||||||
# 🤗 HuggingFace Spaces
|
# 🤗 HuggingFace Spaces
|
||||||
|
|
||||||
A fully featured version of Langflow can be accessed via HuggingFace spaces with no installation required.
|
## TLDR;
|
||||||
|
|
||||||
import ThemedImage from "@theme/ThemedImage";
|
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!
|
||||||
import useBaseUrl from "@docusaurus/useBaseUrl";
|
|
||||||
import ZoomableImage from "/src/theme/ZoomableImage.js";
|
|
||||||
|
|
||||||
{" "}
|
---
|
||||||
|
|
||||||
|
# 🚀 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
|
<ZoomableImage
|
||||||
alt="Docusaurus themed image"
|
alt="Docusaurus themed image"
|
||||||
sources={{
|
sources={{
|
||||||
light: "img/hugging-face.png",
|
light: "img/duplicate-space.png",
|
||||||
dark: "img/hugging-face.png",
|
dark: "img/duplicate-space.png",
|
||||||
}}
|
}}
|
||||||
style={{ width: "100%" }}
|
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
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
|
|
@ -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.",
|
"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",
|
"last_tested_version": "1.0.0a0",
|
||||||
"is_component": false
|
"is_component": false
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue