Flask File Upload Example

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.

Installation

  1. Clone the repository: git clone git@github.com:geopopos/flask_flowise_qa.git

  2. Install the dependencies: pip install -r requirements.txt

  3. 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

  4. Run The App flask run

  5. Open Up the web browser and go to http://localhost:5000. http://localhost:5000