|
--- |
|
title: Codettes-BlackForest |
|
emoji: π§ |
|
colorFrom: gray |
|
colorTo: purple |
|
sdk: gradio |
|
sdk_version: 5.25.2 |
|
app_file: final_codettes_chatbot.py |
|
pinned: true |
|
license: mit |
|
--- |
|
|
|
# π¬ Codettes-BlackForest: Multimodal Reasoning Chatbot |
|
|
|
An advanced multimodal chatbot powered by [Gradio](https://gradio.app), [`transformers`](https://huggingface.co/docs/transformers), and [`diffusers`](https://huggingface.co/docs/diffusers), featuring: |
|
|
|
- π Sentiment analysis |
|
- π§ Reasoning across multiple LLM pipelines |
|
- π¨ Text-to-image generation using the gated model [`black-forest-labs/FLUX.1-dev`](https://huggingface.co/black-forest-labs/FLUX.1-dev) |
|
|
|
## π Features |
|
- Context-aware response generation using T5, GPT-Neo, and DistilBERT |
|
- Emotional and ethical sentiment scoring with VADER and transformers |
|
- Image synthesis via FLUX 1.0-dev diffusion model |
|
- Supports GPU or CPU fallback via PyTorch offload |
|
- Simple, async-capable chat interface with modular blocks |
|
|
|
## π Gated Model Access |
|
|
|
This Space requires a valid `HUGGINGFACE_TOKEN` with access to `black-forest-labs/FLUX.1-dev`. |
|
|
|
Add this under **Repository Secrets**: |
|
``` |
|
HUGGINGFACE_TOKEN = your_token_here |
|
``` |
|
|
|
## π Requirements |
|
|
|
See [`requirements.txt`](./requirements.txt) for full dependencies. Main libraries include: |
|
|
|
- `transformers` |
|
- `diffusers` |
|
- `torch` |
|
- `gradio` |
|
- `huggingface_hub` |
|
- `vaderSentiment` |
|
- `nltk` |
|
|
|
## π License |
|
|
|
MIT License (c) 2025 Jonathan Harrison / Raiff's Bits LLC |