Spaces:
Sleeping
Sleeping
Merge pull request #27 from tengattack/patch/nonapimode
Browse files- 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:
|