Updated the README.md with detailed information
about how to run the refactored ramalama.sh script
Signed-off-by: Alexon Oliveira <alolivei@redhat.com>
Refactored the ramalama.sh script to include the following:
- Introduced support for overriding the default browser via $BROWSER (default: firefox).
- Replaced hardcoded `firefox` calls with configurable $BROWSER variable.
- Added a wait (sleep 20) to ensure the granite service is fully up before accessing it.
- Added curl-based inference test for granite3.1-dense with JSON payload and response filtering.
- Implemented conditional handling of parameters: execute function directly if provided, support for extra args.
- Improved user feedback by adding extra echo statements for clarity.
Signed-off-by: Alexon Oliveira <alolivei@redhat.com>
The camera-demo.html app is failing when used with
Google Chrome due to some restrictions with permissions,
so Firefox will work better. Also, the path given was
not working either, so it was changed to point to the
current directory instead.
Signed-off-by: Alexon Oliveira <alolivei@redhat.com>
Remove failing on pipe errors, since something the network
can fail and break the demo, it would be better to continue
after failures.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This is probably a consequence of my slow network, but I switched
to smollm:135m, it's easier for demos. tiny was taking too long
to download.
Signed-off-by: Eric Curtin <ecurtin@redhat.com>