therealdan commited on
Commit
45fc89d
·
verified ·
1 Parent(s): d07e7a3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -28
README.md CHANGED
@@ -1,35 +1,42 @@
1
- # 🗣️ Lightweight Voice Agent (Whisper + FLAN-T5)
 
 
 
 
 
 
 
 
 
 
2
 
3
  This Hugging Face Space lets you talk to an AI using your voice — entirely for free and running on CPU.
4
 
5
- ### 🔧 What It Does
6
- - 🎙️ Takes voice input via microphone
7
- - 🧠 Transcribes your voice to text using `openai/whisper-small`
8
- - 💬 Generates helpful responses using `google/flan-t5-base`
9
- - 🧱 Built with Gradio, Transformers, and PyTorch
10
-
11
- ### 📦 Dependencies
12
- All dependencies are listed in `requirements.txt`:
13
- - `transformers`
14
- - `torch`
15
- - `gradio`
16
-
17
- ### 🛠 How to Use in a Hugging Face Space
18
- 1. Create a new Space (SDK: **Gradio**)
19
- 2. Upload the following files:
20
- - `app.py`
21
- - `requirements.txt`
22
- - `README.md` (optional, this file)
23
- 3. Run the Space — works on **CPU Basic** (no paid hardware needed)
24
 
25
- ### 💡 Notes
26
- - This version uses **FLAN-T5 Base** for faster performance on CPUs
27
- - If needed, you can swap out the language model for another supported `text2text-generation` model
 
28
 
29
- ### 🙌 Credits
30
- - Transcription by: [`openai/whisper-small`](https://huggingface.co/openai/whisper-small)
31
- - Chat by: [`google/flan-t5-base`](https://huggingface.co/google/flan-t5-base)
32
 
33
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
- This project was prototyped and debugged step-by-step as part of a voice interface experiment using entirely open models.
 
 
 
1
+ ---
2
+ title: Lightweight Voice Agent (Whisper + FLAN-T5)
3
+ emoji: 🗣️
4
+ colorFrom: blue
5
+ colorTo: indigo
6
+ sdk: gradio
7
+ app_file: app.py
8
+ pinned: true
9
+ ---
10
+
11
+ # Lightweight Voice Agent (Whisper + FLAN-T5)
12
 
13
  This Hugging Face Space lets you talk to an AI using your voice — entirely for free and running on CPU.
14
 
15
+ ## What It Does
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
+ - Takes voice input via microphone
18
+ - Transcribes your voice to text using `openai/whisper-small`
19
+ - Generates text replies using `google/flan-t5-base`
20
+ - Built with Gradio, Transformers, and PyTorch
21
 
22
+ ## Dependencies
 
 
23
 
24
+ All required libraries are listed in `requirements.txt`:
25
+ transformers
26
+ torch
27
+ gradio
28
+
29
+ ## How to Run It
30
+
31
+ 1. Create a new **Hugging Face Space** (SDK: Gradio)
32
+ 2. Upload these files:
33
+ - `app.py`
34
+ - `requirements.txt`
35
+ - `README.md` (optional, this file)
36
+ 3. Launch on **CPU Basic** — no paid plan required
37
+
38
+ ## Credits
39
 
40
+ - Transcription: [`openai/whisper-small`](https://huggingface.co/openai/whisper-small)
41
+ - Generation: [`google/flan-t5-base`](https://huggingface.co/google/flan-t5-base)
42
+ - Developed by [designingtomorrow](https://huggingface.co/designingtomorrowllc)