MCPcopy Index your code
hub / github.com/mudler/LocalAI / readInputAudio

Function readInputAudio

core/http/static/chat.js:1108–1114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1106}
1107
1108function readInputAudio() {
1109 if (!this.files || !this.files.length) return;
1110
1111 Array.from(this.files).forEach(file => {
1112 readInputAudioFile(file);
1113 });
1114}
1115
1116function readInputAudioFile(file) {
1117 const FR = new FileReader();

Callers

nothing calls this directly

Calls 3

readInputAudioFileFunction · 0.85
fromMethod · 0.80
forEachMethod · 0.45

Tested by

no test coverage detected