AI21 Labs Streamlit Python Starter / Boilerplate

Python boilerplate for AI21 Labs generate API ready to deploy on Streamlit. Visit our AI21 Labs page for more starters, tutorials, hackathons and projects built on AI21 Labs API.

How to use AI21 Labs starter

This is a starter project that will help you getting started with AI21 Labs API in a few minutes.

Clone repo

https://github.com/lablab-ai/ai21-streamlit-boilerplate

change into folder

cd ai21-streamlit-boilerplate

Create virtual environment

Install dependencies

pip install -U ai21 streamlit python-dotenv

Run the Application

streamlit run main.py

Relevant links

AI21 Labs tech page AI21 Labs Streamlit Documentation


Artificial Intelligence Hackathons, tutorials and Boilerplates

Join the LabLab Discord

Discord Banner 1
On lablab discord, we discuss this repo and many other topics related to artificial intelligence! Checkout upcoming Artificial Intelligence Hackathons Event

Acclerating innovation through acceleration