File size: 1,492 Bytes
4d4a51a
 
 
 
 
 
 
 
 
 
 
 
b26457f
 
 
 
 
 
 
 
 
 
 
 
e5c76c7
b26457f
e5c76c7
b26457f
 
 
 
e5c76c7
 
 
b26457f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
title: Silly Letter
emoji: 🔥
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.42.0
app_file: app.py
pinned: false
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

# Silly Detention Letter Generator

This Flask application generates humorous and exaggerated detention letters for students using the Groq API.

## Description

The Silly Detention Letter Generator is a web application that creates amusing, over-the-top letters addressed to parents explaining their child's fictional detention reasons. It uses the Groq API with the llama3-groq-70b-8192-tool-use-preview model to generate creative and entertaining content.

## Features

- Generates unique, silly detention letters on demand
- Uses advanced language model (Meta Llama 3.1) for creative text generation
- Simple web interface for easy interaction
- Language options: English, Private School English and Hungarian

## Usage

1. Visit the application URL
2. Fill parent and child names, select language
3. Click the button (click regenerate to get a new version)
4. Read and enjoy the humorous detention letter

## Technical Details

- Built with Flask
- Utilizes the Groq API for text generation
- Deployed on Hugging Face Spaces

## Note

This application is for entertainment purposes only. The generated content is fictional and should not be taken seriously.

## Author

Bence from https://bencium.io

## License

[Your chosen license, e.g., MIT License]