acecalisto3 commited on
Commit
776ad7e
·
verified ·
2 Parent(s): f2d845180c36ab

Merge branch #Langflow/Langflow' into 'acecalisto3/PocketLang'

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -23
  2. README.md +13 -4
Dockerfile CHANGED
@@ -1,23 +1 @@
1
- FROM python:3.10-slim
2
-
3
- RUN apt-get update && apt-get install gcc g++ git make -y
4
- RUN useradd -m -u 1000 user
5
-
6
- # Create the directory and set the permissions
7
- RUN mkdir -p /home/langflow && chown user:user /home/langflow
8
-
9
- USER user
10
- ENV HOME=/home/user \
11
- PATH=/home/user/.local/bin:$PATH \
12
- LANGFLOW_DATABASE_URL=sqlite:////home/langflow/langflow.db \
13
- LANGFLOW_AUTO_LOGIN=True
14
-
15
-
16
- WORKDIR $HOME/app
17
-
18
- COPY --chown=user . $HOME/app
19
-
20
- RUN pip install langflow==0.6.7a5 -U --user
21
-
22
-
23
- CMD python -m langflow run --host 0.0.0.0 --port 7860 --remove-api-keys --log-level debug
 
1
+ FROM langflowai/langflow:latest
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -4,12 +4,21 @@ emoji: ⛓️
4
  colorFrom: indigo
5
  colorTo: purple
6
  sdk: docker
7
- pinned: true
8
  license: mit
9
  ---
10
 
11
- ⛓️[LangFlow](https://github.com/logspace-ai/langflow) is an effortless way to experiment and prototype [LangChain](https://github.com/hwchase17/langchain) pipelines. Head over to our GitHub repo and join the Discord Server to follow what the community is building.
12
  <div style="display: flex; margin-top: 0; padding-top: 0;">
13
  <a href="https://discord.gg/FUhJnnJ9"><img alt="LangFlow Repo" src="https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white"/></a>
14
- <a href="https://github.com/logspace-ai/langflow" style="margin-left: 10px;"><img alt="LangFlow Repo" src="https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white"/></a>
15
- </div>
 
 
 
 
 
 
 
 
 
 
4
  colorFrom: indigo
5
  colorTo: purple
6
  sdk: docker
7
+ pinned: false
8
  license: mit
9
  ---
10
 
11
+ ⛓️[LangFlow](https://github.com/langflow-ai/langflow) is an easy way to build from simple to complex AI applications. It is a low-code platform that allows you to integrate AI into everything you do. Head over to our GitHub repo and join the Discord Server to follow what the community is building.
12
  <div style="display: flex; margin-top: 0; padding-top: 0;">
13
  <a href="https://discord.gg/FUhJnnJ9"><img alt="LangFlow Repo" src="https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white"/></a>
14
+ <a href="https://github.com/langflow-ai/langflow" style="margin-left: 10px;"><img alt="LangFlow Repo" src="https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white"/></a>
15
+ </div>
16
+
17
+ ---
18
+
19
+ ⚠️ **Important Note for Hugging Face Spaces Users:**
20
+
21
+ Due to security reasons, we remove all API keys on flows saved in this space. To use LangFlow on Hugging Face Spaces, follow these steps:
22
+
23
+ 1. Duplicate the LangFlow Space.
24
+ 2. Set the global variable `LANGFLOW_REMOVE_API_KEYS` to `false` in the space settings or remove it entirely.