This project is a bot that uses the pythorhead and hugging-chat-api libraries to interact with the Lemmy and Hugging Face platforms. The bot logs into a Lemmy instance, retrieves posts from a specified community, and generates a summary of the post using the Hugging Face chatbot and posts it as a comment.
requirements : python >= 3.8
To install the dependencies for this project, run the following command:
pip3 install -r requirements.txt
to run:
python3 tldr.py
aslo you can check lemmy test instance community AI TLDR BOT TEST