Add Python API for clustering (#1385)
This commit is contained in:
@@ -180,6 +180,14 @@ else()
|
||||
add_definitions(-DSHERPA_ONNX_ENABLE_TTS=0)
|
||||
endif()
|
||||
|
||||
if(SHERPA_ONNX_ENABLE_SPEAKER_DIARIZATION)
|
||||
message(STATUS "speaker diarization is enabled")
|
||||
add_definitions(-DSHERPA_ONNX_ENABLE_SPEAKER_DIARIZATION=1)
|
||||
else()
|
||||
message(WARNING "speaker diarization is disabled")
|
||||
add_definitions(-DSHERPA_ONNX_ENABLE_SPEAKER_DIARIZATION=0)
|
||||
endif()
|
||||
|
||||
if(SHERPA_ONNX_ENABLE_DIRECTML)
|
||||
message(STATUS "DirectML is enabled")
|
||||
add_definitions(-DSHERPA_ONNX_ENABLE_DIRECTML=1)
|
||||
|
||||
Reference in New Issue
Block a user