An open API service indexing awesome lists of open source software.

https://github.com/logicoffee/gradio-litestream-sample

Todo application example built with Gradio and Litestream
https://github.com/logicoffee/gradio-litestream-sample

gradio litestream

Last synced: 4 months ago
JSON representation

Todo application example built with Gradio and Litestream

Awesome Lists containing this project

README

        

# Gradio Litestream Sample

Todo application sample built with Gradio and Litestream.

## Prerequisites

- Create a GCS Bucket.
- Rewrite the replica url in `litestream.yml`.

## Runnig locally

- Authenticate gcloud with `gcloud auth application-default login`.
- Run `docker compose up --build`
- Access localhost:7860

## Deploy to Cloud Run

```bash
gcloud run deploy your-service-name \
--port 7860 \
--allow-unauthenticated \
--region your-region \
--source .
```