Skip to content

Commit

Permalink
Merge pull request #173 from rhatdan/summarizer
Browse files Browse the repository at this point in the history
Miscellaneous fixes
  • Loading branch information
rhatdan authored Apr 6, 2024
2 parents 065d316 + 1ea46a7 commit 18c24f8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion recipes/audio/audio_to_text/quadlet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ podman ps
podman logs <name of container from the above>
```

The application should be acessible at `http://localhost:8501`. It will take a few minutes for the model to load.
The application should be accessible at `http://localhost:8501`. It will take a few minutes for the model to load.

### Run audio-text as a systemd service

Expand Down
7 changes: 3 additions & 4 deletions recipes/natural_language_processing/chatbot/quadlet/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
### Run chatbot as a systemd service

```bash
sudo cp chatbot.yaml /usr/share/containers/systemd/chatbot.yaml
sudo cp chatbot.kube /usr/share/containers/chatbot.kube
sudo cp chatbot.image /usr/share/containers/chatbot.image
sudo /usr/libexec/podman/quadlet --dryrun (optional)
(cd ../;make quadlet)
sudo cp ../build/chatbot.yaml ../build/chatbot.kube ../build/chatbot.image /usr/share/containers/systemd/
sudo /usr/libexec/podman/quadlet --dryrun #optional
sudo systemctl daemon-reload
sudo systemctl start chatbot
```
7 changes: 3 additions & 4 deletions recipes/natural_language_processing/rag/quadlet/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
### Run rag as a systemd service

```bash
sudo cp rag.yaml /usr/share/containers/systemd/rag.yaml
sudo cp rag.kube /usr/share/containers/rag.kube
sudo cp rag.image /usr/share/containers/rag.image
sudo /usr/libexec/podman/quadlet --dryrun (optional)
(cd ../;make quadlet)
sudo cp ../build/rag.yaml ../build/rag.kube ../build/rag.image /usr/share/containers/systemd/
sudo /usr/libexec/podman/quadlet --dryrun #optional
sudo systemctl daemon-reload
sudo systemctl start rag
```
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ cd recipes/natural_language_processing/chatbot
# commands within the container build. If the registry you are pulling images
# from requires authentication, then you will need to volume mount the
# auth_json file with SELinux separation disabled.
podman login --auth-file auth.json quay.io/yourrepo
podman build --build-arg "sshpubkey=$(cat ~/.ssh/id_rsa.pub)" \
--security-opt label=disable \
-v ${XDG_RUNTIME_DIR}/containers/auth.json:/run/containers/0/auth.json \
-v ./auth.json:/run/containers/0/auth.json \
--cap-add SYS_ADMIN \
-t quay.io/yourrepo/youros:tag .

Expand Down
11 changes: 5 additions & 6 deletions recipes/natural_language_processing/summarizer/quadlet/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
### Run summarizer as a systemd service

```bash
cp ../build/summarizer.yaml /etc/containers/systemd/summarizer.yaml
cp ../build/summarizer.kube /etc/containers/summarizer.kube
cp ../build/summarizer.image /etc/containers/summarizer.image
/usr/libexec/podman/quadlet --dryrun (optional)
systemctl daemon-reload
systemctl start summarizer
(cd ../;make quadlet)
sudo cp ../build/summarizer.yaml ../build/summarizer.kube ../build/summarizer.image /usr/share/containers/systemd/
sudo /usr/libexec/podman/quadlet --dryrun #optional
sudo systemctl daemon-reload
sudo systemctl start summarizer
```

0 comments on commit 18c24f8

Please sign in to comment.