Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 751 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 751 Bytes

FastHTML + Modal Template

Deploy a FastHTML app in just a few lines of simple python code on Modal's serverless infra.

This template is an implementation of a streaming chat app with auto-scrolling and a simple UI where you can easily swap out the dummy generator with your own LLM.

fasthtml-modal

Run the App Locally

pip install -r requirements.txt
python app.py

Deploy the App

Visit modal.com and create a free account. Then follow the instructions to authenticate in your CLI.

Run the following command in your terminal:

modal deploy deploy.py

That's it!