Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tvytlx/antropic-hackthon-chattytutor
https://github.com/tvytlx/antropic-hackthon-chattytutor
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tvytlx/antropic-hackthon-chattytutor
- Owner: tvytlx
- License: apache-2.0
- Created: 2023-06-01T11:06:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-02T13:37:46.000Z (over 1 year ago)
- Last Synced: 2024-11-05T10:59:37.997Z (3 months ago)
- Language: TypeScript
- Homepage: https://antropic-hackthon-chattytutor.vercel.app
- Size: 1.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Antropic hackathon Chatty Tutor Team
The main purpose of this project is to genereate a comic strip from a single word.
NOTE: the backend code is not integrated with the frontend, because we deployed it manually on the GPU server.
## Generating the story
check `claude.py`, the chain of thoughts's prompts is as follows:
1. I give you a word, you generate a vivid story, and the main idea of the story is to explain the word so that the person who has seen it can make a connection with the word in his or her head and remember the word by understanding it.
2. I will give you a story, please break this story into smaller pieces, each piece should not exceed 60 words
3. generate a detailed midjourney prompt for every part of story## Stable Diffusion Deploy
We use the https://github.com/AUTOMATIC1111/stable-diffusion-webui to generate images for the story.
Also a simple Flask service (check `image_service.py`) to handle the request and upload image to Cloudflare.