This is a simple Flask app that demonstrates how to allow users to upload their own text files to a flowise flow and query their own files.
-
Clone the repository:
git clone git@github.com:geopopos/flask_flowise_qa.git
-
Install the dependencies:
pip install -r requirements.txt
-
Set the environment variables THIS SHOULD BE THE API_URL YOU GET FROM FLOWISE
FLOWISE_API_URL=http://flowise.onrender.com/api/v1/prediction/EXAMPLE
-
Run The App flask run
-
Open Up the web browser and go to
http://localhost:5000
. http://localhost:5000