Skip to content

Commit ce2c6dc

Browse files
committed
* optimize demo asr online code
1 parent b2f718f commit ce2c6dc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

projects/demo_asr_online/main.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
from wave import Error
2-
from maix import camera, display, app, time, image, audio
3-
from maix._maix.err import Err
1+
from maix import camera, display, app, image, audio
42
import asyncio, json, websockets
53
import numpy as np
64

75
STATUS_OK = 0
86
STATUS_EXIT = 1
9-
STATUS_SCAN_QRCODE = 2
10-
STATUS_SHOW_ASR = 3
117

128
class AsrOnlineClient:
139
def __init__(self, exit_event):

0 commit comments

Comments
 (0)