mini-omni commited on
Commit
6fe93c5
·
2 Parent(s): 2541285 d151b7d

Merge pull request #27 from tengattack/patch/nonapimode

Browse files
Files changed (1) hide show
  1. webui/omni_gradio.py +1 -0
webui/omni_gradio.py CHANGED
@@ -50,6 +50,7 @@ def process_audio(audio):
50
  except Exception as e:
51
  print(f"error: {e}")
52
  else:
 
53
  for chunk in omni_client.run_AT_batch_stream(filepath):
54
  # Convert chunk to numpy array
55
  if cnt == 0:
 
50
  except Exception as e:
51
  print(f"error: {e}")
52
  else:
53
+ tik = time.time()
54
  for chunk in omni_client.run_AT_batch_stream(filepath):
55
  # Convert chunk to numpy array
56
  if cnt == 0: