Commit Graph

8 Commits

Author SHA1 Message Date
xuan
b4affb21ef
fix: TabError (#1388) 2024-02-26 09:41:22 +08:00
dudulu
9c5f00794e
修复chunk_size可能传入str或list结构 (#1357)
h5传入的是list,python 传入的是 str,无论传入是什么类型,强制转成list
2024-02-05 10:10:52 +08:00
dudulu
6cdbcf4b0a
Update funasr_wss_server.py (#1322)
解决报

```python
return await cast(
  File "funasr_wss_server.py", line 188, in ws_serve
    int(websocket.status_dict_asr_online["chunk_size"][1]) * 60 / websocket.chunk_interval)
ValueError: invalid literal for int() with base 10: ','
^CTraceback (most recent call last):
  File "funasr_wss_server.py", line 302, in <module>
    asyncio.get_event_loop().run_forever()
```
2024-01-31 16:22:05 +08:00
游雁
e2154e4599 websocket 2024-01-31 10:09:36 +08:00
zhifu gao
4f224c8806
python-websocket funasr1.0 (#1310)
* fix add_file bug (#1296)

Co-authored-by: shixian.shi <shixian.shi@alibaba-inc.com>

* funasr1.0 uniasr

* funasr1.0 uniasr

* update with main (#1305)

* v1.0.3

* update clients for 2pass

* update download tools

---------

Co-authored-by: 雾聪 <wucong.lyb@alibaba-inc.com>

* vad streaming return [beg, -1], [], [-1, end], [beg, end]]

* funasr1.0 websocket-python

* funasr1.0 websocket-python

---------

Co-authored-by: shixian.shi <shixian.shi@alibaba-inc.com>
Co-authored-by: 雾聪 <wucong.lyb@alibaba-inc.com>
2024-01-26 16:02:14 +08:00
zhifu gao
84b877ef35
Update funasr_wss_server.py 2023-11-21 19:16:49 +08:00
游雁
540a50b55a wss ssl 2023-11-17 09:47:33 +08:00
Yabin Li
702ec03ad8
Dev new (#1065)
* add hotword for deploy_tools

* Support wfst decoder and contextual biasing (#1039)

* Support wfst decoder and contextual biasing

* Turn on fstbin compilation

---------

Co-authored-by: gongbo.gb <gongbo.gb@alibaba-inc.com>

* mv funasr/runtime runtime

* Fix crash caused by OOV in hotwords list

* funasr infer

* funasr infer

* funasr infer

* funasr infer

* funasr infer

* fix some bugs about fst hotword; support wfst for websocket server and clients; mv runtime out of funasr; modify relative docs

* del onnxruntime/include/gflags

* update tensor.h

* update run_server.sh

* update deploy tools

* update deploy tools

* update websocket-server

* update funasr-wss-server

* Remove self loop propagation

* Update websocket_protocol_zh.md

* Update websocket_protocol_zh.md

* update hotword protocol

* author zhaomingwork: change hotwords for h5 and java

* update hotword protocol

* catch exception for json_fst_hws

* update hotword on message

* update onnx benchmark for ngram&hotword

* update docs

* update funasr-wss-serve

* add NONE for LM_DIR

* update docs

* update run_server.sh

* add whats-new

* modify whats-new

* update whats-new

* update whats-new

* Support decoder option for beam searching

* update benchmark_onnx_cpp

* Support decoder option for websocket

* fix bug of CompileHotwordEmbedding

* update html client

* update docs

---------

Co-authored-by: gongbo.gb <35997837+aibulamusi@users.noreply.github.com>
Co-authored-by: gongbo.gb <gongbo.gb@alibaba-inc.com>
Co-authored-by: 游雁 <zhifu.gzf@alibaba-inc.com>
2023-11-07 18:34:29 +08:00