sohojoe commited on
Commit
dd6a36a
1 Parent(s): 54d4a4a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +58 -1
README.md CHANGED
@@ -11,4 +11,61 @@ pinned: false
11
  license: mit
12
  ---
13
 
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  license: mit
12
  ---
13
 
14
+ # Project Charles
15
+
16
+ Toy app for voice based agent
17
+
18
+ Video Demo -> [Early Test](https://www.linkedin.com/posts/sohojoe_ray-vosk-chatgpt-activity-7100365711226671104-c2Nv?utm_source=share&utm_medium)
19
+
20
+ ## Required Environment Variables/Keys
21
+
22
+ * OPENAI_API_KEY - required for ChatGPT
23
+ * ELEVENLABS_API_KEY - required for ElevenLabs TTS
24
+
25
+ ## Optional Environment Variables/Keys
26
+
27
+ * TWILIO_ACCOUNT_SID - reduces time for WebRTC connection
28
+ * TWILIO_AUTH_TOKEN - reduces time for WebRTC connection
29
+
30
+ ## How to install
31
+
32
+ ```bash
33
+ pip install -r requirements.txt
34
+ ```
35
+
36
+ Install packages from packages.txt
37
+
38
+ macOS (Homebrew)
39
+ ```bash
40
+ xargs brew install < packages.txt
41
+ ```
42
+
43
+ Linux (Ubuntu, apt)
44
+ ```bash
45
+ sudo xargs -a packages.txt apt-get install -y
46
+ ```
47
+
48
+ Linux (Fedora, dnf)
49
+ ```bash
50
+ sudo xargs -a packages.txt dnf install -y
51
+ ```
52
+
53
+ Windows (Chocolatey)
54
+ ```bash
55
+ Get-Content packages.txt | ForEach-Object { choco install $_ -y }
56
+ ```
57
+
58
+
59
+
60
+ ## How to run
61
+
62
+ ```bash
63
+ streamlit run app.py
64
+ ```
65
+
66
+ ## Known Issues
67
+
68
+ * First run maybe slow due to downloading of model. You may want to refresh the page after the first run.
69
+ * Audio errors may occur due to the way the app converts from ElevenLabs stream to WebRTC audio
70
+ * Audio error may happen if the server is running slow
71
+ * May hang and server needs a hard reset