Update app.py
Browse files
app.py
CHANGED
@@ -29,11 +29,11 @@ trigger = {"hf": "effective"}
|
|
29 |
|
30 |
t2a = T2A()
|
31 |
|
|
|
|
|
32 |
def main():
|
33 |
mic = mic_recorder(start_prompt="Record", stop_prompt="Stop", just_once=True)
|
34 |
|
35 |
-
t2a.autoplay(greeting_text)
|
36 |
-
|
37 |
if mic is not None:
|
38 |
a2t = A2T(mic["bytes"])
|
39 |
text = a2t.predict()
|
|
|
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:
|
38 |
a2t = A2T(mic["bytes"])
|
39 |
text = a2t.predict()
|