forked from cgvr/DeltaVR
Unity pipeline scripts cleanup + enable dev build
This commit is contained in:
@@ -35,7 +35,6 @@ public class VoiceTranscriptionBox : MonoBehaviour
|
||||
isLoading = false;
|
||||
|
||||
whisper.OnNewSegment += OnNewSegment;
|
||||
whisper.OnProgress += OnProgressHandler;
|
||||
|
||||
microphoneRecord.OnRecordStop += OnRecordStop;
|
||||
}
|
||||
@@ -105,11 +104,6 @@ public class VoiceTranscriptionBox : MonoBehaviour
|
||||
isLoading = false;
|
||||
}
|
||||
|
||||
private void OnProgressHandler(int progress)
|
||||
{
|
||||
UnityEngine.Debug.Log($"Progress: {progress}%");
|
||||
}
|
||||
|
||||
private void OnNewSegment(WhisperSegment segment)
|
||||
{
|
||||
_buffer += segment.Text;
|
||||
|
||||
Reference in New Issue
Block a user