Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FunAudioLLM/SenseVoice
/ get_emo
Function
get_emo
webui.py:117–118 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
115
116
def
format_str_v3(s):
117
def
get_emo(s):
118
return
s[-1]
if
s[-1] in emo_set
else
None
119
def
get_event(s):
120
return
s[0]
if
s[0] in event_set
else
None
121
Callers
1
format_str_v3
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected