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
- Host: GitHub
- URL: https://github.com/logicoffee/gradio-litestream-sample
- Owner: logicoffee
- Created: 2024-06-22T04:27:58.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-12-13T12:24:55.000Z (6 months ago)
- Last Synced: 2025-02-14T11:46:45.573Z (4 months ago)
- Topics: gradio, litestream
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 .
```