Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def switching(text):
|
|
59 |
|
60 |
def get_text():
|
61 |
try:
|
62 |
-
mic = mic_recorder(start_prompt="Record", stop_prompt="Stop", just_once=
|
63 |
start_time = time.perf_counter()
|
64 |
a2t = A2T(mic["bytes"])
|
65 |
text = a2t.predict()
|
|
|
59 |
|
60 |
def get_text():
|
61 |
try:
|
62 |
+
mic = mic_recorder(start_prompt="Record", stop_prompt="Stop", just_once=False, use_container_width=True)
|
63 |
start_time = time.perf_counter()
|
64 |
a2t = A2T(mic["bytes"])
|
65 |
text = a2t.predict()
|