From 1c8b9d813a6ddfbda6463a04aa3e358b8c7e29c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Mon, 20 May 2024 10:31:33 -0700 Subject: [PATCH] examples: minot updates to storytelling-chatbot instructions --- examples/storytelling-chatbot/README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/examples/storytelling-chatbot/README.md b/examples/storytelling-chatbot/README.md index 543ee6d46..f3a23d305 100644 --- a/examples/storytelling-chatbot/README.md +++ b/examples/storytelling-chatbot/README.md @@ -37,6 +37,8 @@ Adds pictures to our story (really fast!) Prompting is quite key for style consi **Install requirements** ```shell +python3 -m venv venv +source venv/bin/activate pip install -r requirements.txt ``` @@ -52,7 +54,7 @@ This project uses a custom frontend, which needs to built. Note: this is done au ```shell cd frontend/ -npm install / yarn +npm install npm run build ``` @@ -68,12 +70,7 @@ If you'd like to run a custom domain or port: `python src/server.py --host somehost --p 7777` -➡️ Open the host URL in your browser - -> [!IMPORTANT] -> Whilst working on the frontend code, please `yarn run dev` -> and open the NextJS hosted service vs. the Python server. -> (Usually localhost:3000.) +➡️ Open the host URL in your browser `http://localhost:7860` ---