Spaces:
Sleeping
Sleeping
metadata
title: AI Demo
emoji: π¨
colorFrom: blue
colorTo: pink
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
license: mit
short_description: This Space showcases a simple AI demo built with Gradio
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Conclusion Generator Demo
This Space showcases a simple AI demo built with Gradio and Hugging Face Transformers.
π What it does
- Takes short user input (up to 300 characters).
- Runs a moderation check to block toxic or inappropriate content.
- Generates a short final conclusion only β no elaboration or extra details.
π‘οΈ Safeguards
- Input length limited to 300 characters.
- Toxic or profane inputs are flagged and blocked.
- Output length capped at 50 tokens to prevent abuse.
π₯οΈ How to use
- Type a respectful query into the textbox.
- Click Submit.
- Read the generated conclusion in the output box.
βοΈ Tech stack
- Model:
bigscience/bloomz-560mfor text generation. - Moderation:
unitary/toxic-bert. - Interface: Gradio.
β¨ This demo is intended as a lightweight example of AI interaction. Itβs not optimized for production use.