Skip to content
/ fasthtml-modal Public template

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

License

Notifications You must be signed in to change notification settings

arihanv/fasthtml-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages