This guide walks you through the complete Windows setup process, from identifying your computer type through your first successful OTAC run. If you are on Mac, use the Mac Setup Guide instead.
Need help or got stuck? The User Guide has detailed troubleshooting, a command-line reference, and answers to common questions. You can also open OTAC_USER_GUIDE.html from the OTAC_Desktop folder for offline access.
Step 1 — Find Out What Kind of Windows Computer You Have
You need to know whether your computer uses an AMD64 or ARM64 processor so you can download the correct version of Docker Desktop. Almost all office and home Windows computers are AMD64.
Press Windows + R on your keyboard.
Type msinfo32 and press Enter.
A window labeled "System Information" opens. Find the line labeled System Type:
If System Type says…
Your processor is…
x64-based PC
AMD64 (Intel or AMD) — most common
ARM-based PC
ARM64 (newer Surface Pro X, Copilot+ PCs)
Not sure? Choose AMD64 — it is correct for the vast majority of office and home Windows computers.
Step 2 — Download and Install Docker Desktop
Docker is free software that OTAC runs inside. You only install it once. You can learn more about Docker Desktop at docker.com/products/docker-desktop before downloading.
Download Docker Desktop
Your computer
Download
Windows — Intel or AMD x64-based PC — most office computers
Accept all default options and click through the installer.
Restart your computer if prompted.
After restarting, look for the Docker whale icon in your taskbar (bottom-right corner).
Wait until the whale icon stops animating. Docker is now ready.
Sign-in prompt: Docker may ask you to sign in or create an account. You do not need to sign in. Click Skip or Continue without signing in. Docker Desktop is free to use without an account.
Windows Subsystem for Linux (WSL) warning: If you see a message during installation saying "Windows Subsystem for Linux installation is too old" or similar, open a new Command Prompt and run the command Docker suggests, typically wsl --update. Press Enter, wait for it to finish, then restart Docker Desktop.
Why Docker? OTAC uses machine learning models that require many supporting software components. Docker bundles all of those components together so everything works correctly on your computer without you needing to install anything else.
Step 3 — Download and Extract OTAC
Download the OTAC package and extract it to your computer.
Save OTAC_Desktop.zip somewhere easy to find, such as your Documents folder.
Right-click the ZIP file and choose Extract All.
You will have a folder called OTAC_Desktop containing all the files needed to run OTAC.
Choose a simple folder path. Avoid spaces or special characters in the path. Good:C:\Users\Jane\Documents\OTAC_Desktop Avoid:C:\Users\Jane\My Files (2026)\OTAC!
Step 4 — Open a Terminal and Navigate to the OTAC Folder
New to the terminal? A terminal is a text window where you type commands. You do not need to be a programmer; you only need to type one command in this step. The terminal responds immediately when you press Enter. Nothing will happen to your files just from navigating to a folder.
Press the Windows key, type cmd or Terminal, and press Enter to open a Command Prompt or Windows Terminal window. A dark text window will appear. This is normal.
Find your Windows username: look at the terminal prompt: it shows something like C:\Users\Jane> where Jane is your username.
Type the command below and press Enter. Replace YourName with your username. If you saved OTAC_Desktop somewhere other than Documents, use that path instead:
cd "C:\Users\YourName\Documents\OTAC_Desktop"
What you see after pressing Enter
What it means
Prompt changes to C:\Users\YourName\Documents\OTAC_Desktop>
You are in the right folder — continue to Step 5
"The system cannot find the path specified"
The path is wrong. Check the folder location in File Explorer and try again.
Not sure of the folder path? Open File Explorer (Windows key + E) and navigate to OTAC_Desktop. Click on the address bar at the top — it will show the full path you need, such as C:\Users\Jane\Documents\OTAC_Desktop. Copy and paste that path into the terminal command above.
Step 5 — Start OTAC
To start or run OTAC, Docker Desktop must be running. Confirm the Docker whale icon is visible in your taskbar (bottom-right corner) and has stopped animating before continuing.
Confirm Docker is ready: in the terminal window from Step 4, type the command below and press Enter. Docker will print several lines of information. Scroll up in the command window to see if the block of text starts with the word Client:. If it does, Docker is ready. If you see an error instead, open Docker Desktop and wait for the whale icon to stop animating, then try again.
docker info
Run the following command to start OTAC, then keep the terminal window open while OTAC is running:
docker compose up --build
First time only — this takes 20–30 minutes. OTAC must download and install its components, which requires internet access. You will see many lines of text scrolling past. This is normal. Do not close the terminal window.
Build phases and what you will see:
Phase
Approx. time
What appears in the terminal
Downloading base image
2–5 min
Lines like Pulling from library/python, progress bars
Installing PyTorch & ML libraries
10–15 min
Lines like Collecting torch, Downloading torch-...
Installing OTAC application
2–5 min
Lines like COPY . /app, RUN pip install
OTAC starting up
1–2 min
You can now view your Streamlit app in your browser.
Every run after the first will take under 30 seconds.
Windows firewall prompt: During the first build, Windows may show a pop-up asking if you want to allow "Docker Desktop Backend" to communicate on public and private networks. Click Allow to continue.
Verify OTAC is running
When the terminal shows You can now view your Streamlit app in your browser., open your browser and go to:
http://localhost:8501
The page loads in two stages:
Dark background with a running figure in the upper-right corner. OTAC is finishing its startup. Wait 30–60 seconds.
The OTAC interface appears. You will see the title "OTAC Model App" with tabs for Single Coder and Bulk Coder. OTAC is ready to use.
The OTAC interface when fully loaded — Single Coder tab shown
Page is blank or shows an error? Wait 60 seconds and press F5 to refresh. If the problem persists, check that the terminal window is still open and shows no red error messages. See the User Guide for troubleshooting steps.
Step 6 — Use OTAC
OTAC opens to the Single Coder tab by default. There are two tabs at the top of the page:
Tab
What it does
Single Coder (default)
Type one offense description and OTAC predicts its category instantly
Bulk Coder
Upload a CSV or XLSX file to classify many offenses at once
Single Coder
Type an offense description into the text box and OTAC will display predicted categories immediately. Use this to test individual offenses or look up a single case.
Bulk Coder — uploading a file
Click the Bulk Coder tab at the top of the OTAC page.
OTAC accepts a plain-text CSV file or an Excel XLSX document. Click Browse files and upload your CSV or XLSX file.
OTAC can accept a file with a single column of offense strings, or a file with multiple columns as long as one of them contains offense strings. If your file has multiple columns, select the offense text column from the dropdown that appears.
To increase classification speed, OTAC will use only the offense string column and will automatically deduplicate repeated offense strings before processing.
Click Compute Predictions.
A Sample Output table appears showing predicted categories for the first 50 rows.
Scroll to the bottom of the sample table and click Download data as CSV to save the full results to your computer.
The downloaded file will contain only the deduplicated offense strings, predicted offense classifications, and confidence scores. If your original file had other columns, you will need to merge the predictions back into your full data using the offense strings as a linking key.
Test it first: The otac_sample.csv file in your OTAC_Desktop folder contains 100 sample offense strings. Upload it in Bulk Coder to confirm everything is working before using your own data.
Stopping OTAC
When you are finished, stop OTAC to free up memory:
Press Ctrl + C in the terminal window where OTAC is running.
After OTAC stops, run docker compose down to remove containers and fully free memory.
OTAC also stops automatically when you restart or shut down your computer.
Troubleshooting
Problem
Solution
"Docker is not installed"
Follow Step 2 above to download and install Docker Desktop
"Docker is not running"
Open Docker Desktop and wait for the whale icon to stop animating
Browser shows a blank page or error
Wait 30–60 seconds and press F5 to refresh
"Docker build failed" (first run)
Check your internet connection. A corporate firewall may need IT to allow Docker Hub access.
"docker: command not found" or "'docker' is not recognized"
Docker is not installed, or your computer needs a restart. Install Docker Desktop (Step 2) and restart.
"Cannot connect to the Docker daemon"
Docker Desktop is not running. Open it and wait for the whale icon to stop animating.
"no configuration file provided"
You are not in the OTAC_Desktop folder. Use the cd command from Step 4 to navigate there.
"port 8501 is already in use"
OTAC is already running. Open http://localhost:8501 in your browser, or run docker compose down to stop it first.
Page loads but looks broken
Try a different browser (Chrome, Edge, or Firefox)
For more detail, see the User Guide, or open OTAC_USER_GUIDE.html in the OTAC_Desktop folder for offline reference.