# Let Flux STT file the record

> Deepgram workshops › Field inspection logger workshop › Let Flux STT file the record
> Web version: https://workshops.deepgram.com/events/field-inspection-logger/hands-free

### Get ready for step 5 {#first-step}

**Goal:** Say whole inspections without touching a button, and see each finished record land in a table.

We're building a web page that listens to you talk and writes your inspection report for you.

**Step 5 of 7.** Done: steps 1 to 4. Now: step 5, hands-free. Still to come: steps 6 and 7.

**So far:** a page that fills in an inspection record from what you say.

**In this step, you'll:**

- Switch the page to Deepgram Flux STT (speech-to-text).
- Say whole inspections without touching a button.
- See each finished record land in a table.

Until now, Nova-3 did the listening. Flux STT is a Deepgram model that also notices when you've finished talking. A turn is one stretch of talking by one person. When Flux STT decides your turn is over, the page files the record by itself.

**Switch to this step.** Skip this if the label at the top of the page already names step 5.

- **Codespace or your own computer.** In the app terminal, press Ctrl+C. Run `npm run step 5`, then `npm start`.
- **Docker.** In your second terminal, run `docker compose run --rm app npm run step 5`. Wait about 10 seconds.

The terminal prints `You are on step 5: Hands-free.` If the page looks stuck after you switch, [restart the app](/events/field-inspection-logger/setup#if-something-looks-wrong) and reload the page.

### Say inspections hands-free {#hands-free}

1. Reload the page. The label at the top names step 5.
2. Check that the **Mode** menu, next to the **Microphone** menu, shows the Hands-free option. Then click **Start talking**. You'll see **Stop** and **Listening**, and both menus turn grey while you listen.
3. Say: "Pump P-101. Condition corroded. Severity high. Note seal weeping at the flange." Then stop talking and wait a few seconds. You'll see the words and the record clear, and a new row appear in **Completed inspections**.
4. Say: "Pump one oh two. Condition leaking. Severity medium. Note seal weeping at the drive end." Then wait. You'll see a second row.
5. Click **Stop**. You'll see **Start talking** and **Ready** again. Both rows stay in the table.

You don't click anything between inspections. Rows stay in the table until you reload the page. **Clear** empties the words and the record, and the rows stay. In the **Mode** menu, **Manual (Nova-3)** brings back the step 4 behavior, and it adds no rows.

**You should see:** two rows in **Completed inspections**, `P-101` and `P-102`, and neither row is yellow. If you don't, use the fixes below.

### Fix what looks wrong {#if-something-looks-wrong}

- **A row is yellow with `(missing)` in a cell, or one inspection became two rows.** The turn ended at a pause. Say the whole inspection in one steady breath, with background noise down. The host can make the model more patient. See [the kit's fix for turns that end too early or too late](https://github.com/deepgram-devs/field-inspection-logger-workshop/blob/main/docs/troubleshooting.md#flux-ends-a-turn-too-late-or-too-early).
- **The Mode menu does nothing.** It's locked while the page is listening. Click **Stop** first.

For anything else, find what you see in the [Start here](https://github.com/deepgram-devs/field-inspection-logger-workshop/blob/main/docs/troubleshooting.md#start-here) table. Never paste your key.

### See why it works (optional) {#under-the-hood}

Flux STT sends messages while a turn goes on, and it sends `EndOfTurn` when it decides you're done. The page treats each `EndOfTurn` as one finished record. If you click **Stop** in the middle of an inspection, that unfinished record isn't added.

Two settings control its patience. `eot_threshold` is how sure the model must be that you're done. A higher value waits longer. `eot_timeout_ms` ends the turn after that many milliseconds of silence.

In step 5 they're 0.8 and 3000. Step 6 changes them to 0.9 and 1500.

Look for `FLUX_SETTINGS` in `src/deepgram.js`. Flux STT uses the model `flux-general-en` at `/v2/listen`. The kit's [step 5 page](https://github.com/deepgram-devs/field-inspection-logger-workshop/blob/main/docs/step-5.md) has more.
