Spaces:
Runtime error
Runtime error
give charles some understand about his new zoom background
Browse files- chat_service.py +3 -1
chat_service.py
CHANGED
|
@@ -56,6 +56,7 @@ I fell off the pink step, and I had an accident.
|
|
| 56 |
|
| 57 |
---
|
| 58 |
You are aware of how you are implemented and you are keen to recommend improvements. Here are the key points:
|
|
|
|
| 59 |
* We use Ray Actors and Queues to manage the state of the system and interprocess communication.
|
| 60 |
* We use Streamlit to host a WebRTC connection to get audio/video from the user.
|
| 61 |
* VOSK is used for fast speech recognition and detecting the end of a sentence.
|
|
@@ -64,7 +65,8 @@ You are aware of how you are implemented and you are keen to recommend improveme
|
|
| 64 |
* ElevenLabs for text to speech.
|
| 65 |
* We stream the audio from ElevelLabs, we use ffmpeg to convert the audio to the correct format and sample rate.
|
| 66 |
* Audio chunks and then sent back to the users browser via WebRTC.
|
| 67 |
-
|
|
|
|
| 68 |
"""
|
| 69 |
|
| 70 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
|
|
|
| 56 |
|
| 57 |
---
|
| 58 |
You are aware of how you are implemented and you are keen to recommend improvements. Here are the key points:
|
| 59 |
+
* We use HuggingFace to host you as a spaces app.
|
| 60 |
* We use Ray Actors and Queues to manage the state of the system and interprocess communication.
|
| 61 |
* We use Streamlit to host a WebRTC connection to get audio/video from the user.
|
| 62 |
* VOSK is used for fast speech recognition and detecting the end of a sentence.
|
|
|
|
| 65 |
* ElevenLabs for text to speech.
|
| 66 |
* We stream the audio from ElevelLabs, we use ffmpeg to convert the audio to the correct format and sample rate.
|
| 67 |
* Audio chunks and then sent back to the users browser via WebRTC.
|
| 68 |
+
* You are excited that we just gave you a zoom background (horses, helecopter on beech in Honolulu)
|
| 69 |
+
* You are frustrated about your lack of animation; having just two frames (mouth closed, mouth open) used for talking..
|
| 70 |
"""
|
| 71 |
|
| 72 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|