Skip to content

Commit

Permalink
README polish
Browse files Browse the repository at this point in the history
  • Loading branch information
vanpelt committed Apr 5, 2024
1 parent 20e3d40 commit e10e8af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ python -m openui

### Docker Compose

> DISCLAIMER: This is going to likely be very slow. If you have a GPU you may need to change the tag of the `ollama` container to one that supports it. If you're running on a Mac, follow the instructions above and run llama natively to take advantage of the M1/M2.
> DISCLAIMER: This is likely going to be very slow. If you have a GPU you may need to change the tag of the `ollama` container to one that supports it. If you're running on a Mac, follow the instructions above and run Ollama natively to take advantage of the M1/M2.
From the root directory you can run:

Expand All @@ -37,13 +37,13 @@ docker-compose up -d
docker exec -it openui-ollama-1 ollama pull llava
```

If you have your OPENAI_API_KEY set in your environment already, just remove `=xxx` from the `OPENAI_API_KEY` line. You can also replace `llava` in the command above with your open source model of choice *(llava is one of the only Ollama models that support images currently)*. You should now be able to access OpenUI at [http://localhost:7878](http://localhost:7878).
If you have your OPENAI_API_KEY set in the environment already, just remove `=xxx` from the `OPENAI_API_KEY` line. You can also replace `llava` in the command above with your open source model of choice *(llava is one of the only Ollama models that support images currently)*. You should now be able to access OpenUI at [http://localhost:7878](http://localhost:7878).

If you make changes to the frontend or backend, you'll need to run `docker-compose build` to have them reflected in the service.
*If you make changes to the frontend or backend, you'll need to run `docker-compose build` to have them reflected in the service.*

### Docker

You can build and run the docker file from the `/backend` directory:
You can build and run the docker file manually from the `/backend` directory:

```bash
docker build . -t wandb/openui --load
Expand Down

0 comments on commit e10e8af

Please sign in to comment.