CineAI commited on
Commit
9ee8906
1 Parent(s): 8bd4cb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=True, use_container_width=True)
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()