Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>test</title>
</head>
<body>
from fasthtml.common import *
from claudette import *
from starlette.responses import StreamingResponse
import asyncio
# Set up the app, including daisyui and tailwind for the chat component
hdrs = (picolink,
Script(src="https://cdn.tailwindcss.com"),
Script(src="https://unpkg.com/[email protected]/transfer-encoding-chunked.js"),
Link(rel="stylesheet", href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.min.css"))
from fasthtml.common import *
from claudette import *
import asyncio
from starlette.responses import StreamingResponse
extlink = Script(src="https://unpkg.com/htmx.ext...chunked-transfer/dist/index.js")
htmxlink = Script(src="https://unpkg.com/[email protected]")
app = FastHTML(hdrs=(picolink,htmxlink,extlink), default_hdrs=False, live=True)
@fabge
fabge / README-Template.md
Created December 18, 2019 15:11 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites