Skip to content

Commit 9b7050b

Browse files
committed
simplify js logic
1 parent 2f56129 commit 9b7050b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/inference-providers/guides/building-first-app.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,9 @@ document.getElementById('file').onchange = async (e) => {
152152
hide(document.getElementById('results'), document.getElementById('error'));
153153

154154
try {
155-
console.log('🎤 Starting transcription...');
156155
const transcript = await transcribe(file);
157-
console.log('✅ Transcription completed:', transcript.substring(0, 100) + '...');
158-
159-
console.log('🖊️ Starting summarization...');
160156
const summary = await summarize(transcript);
161-
console.log('✅ Summary completed:', summary.substring(0, 100) + '...');
162-
157+
163158
document.getElementById('transcript').textContent = transcript;
164159
document.getElementById('summary').textContent = summary;
165160

0 commit comments

Comments
 (0)