Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 553 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 553 Bytes

Example: Spin LLM

This is an example showcasing the use of Spin LLM within a guest component.

Preparing the Environment

Run the following commands to setup a virtual environment with Python.

python3 -m venv venv
source venv/bin/activate

Install the required packages specified in the requirements.txt using the command:

pip3 install -r requirements.txt

Building and Running the Examples

spin build --up

Testing the App

$ curl localhost:3000                      
Hello from Python!