File size: 1,467 Bytes
5e3a5ef
f65e488
44d1a7c
2b51ab9
 
f65e488
3ae73a2
44d1a7c
f65e488
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57dcd03
2b51ab9
 
 
 
 
57dcd03
 
 
 
 
 
 
 
 
 
 
 
 
 
2b51ab9
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
---
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