Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ from llm.llm_factory import LLM_Factory
|
|
16 |
|
17 |
|
18 |
# Можна редагувати аби не повтрювалось
|
19 |
-
greeting_text = "Hi, my name is M8... oops, that's from my future, but right now I'm Chelsea, your personal voice assistant. Ask me anything you want and I'll try to help you.
|
20 |
|
21 |
llm_model = LLM_Factory()
|
22 |
|
@@ -29,9 +29,9 @@ trigger = {"hf": "effective"}
|
|
29 |
|
30 |
t2a = T2A()
|
31 |
|
32 |
-
t2a.autoplay(greeting_text)
|
33 |
-
|
34 |
def main():
|
|
|
|
|
35 |
mic = mic_recorder(start_prompt="Record", stop_prompt="Stop", just_once=True)
|
36 |
|
37 |
if mic is not None:
|
|
|
16 |
|
17 |
|
18 |
# Можна редагувати аби не повтрювалось
|
19 |
+
greeting_text = "Hi, my name is M8... oops, that's from my future, but right now I'm Chelsea, your personal voice assistant. Ask me anything you want and I'll try to help you."
|
20 |
|
21 |
llm_model = LLM_Factory()
|
22 |
|
|
|
29 |
|
30 |
t2a = T2A()
|
31 |
|
|
|
|
|
32 |
def main():
|
33 |
+
t2a.autoplay(greeting_text, just_once=True)
|
34 |
+
|
35 |
mic = mic_recorder(start_prompt="Record", stop_prompt="Stop", just_once=True)
|
36 |
|
37 |
if mic is not None:
|