mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-10 06:18:02 -05:00
Fixing xpu build
This commit is contained in:
@@ -90,7 +90,7 @@ RUN if [ ! -z "$TORCH_VERSION" ]; then \
|
||||
RUN if [ "$SKIP_XTTS_TEST" != "true" ]; then \
|
||||
echo "Running XTTS test to pre-download models..." && \
|
||||
echo "This is a test sentence." > test.txt && \
|
||||
python app.py --headless --ebook test.txt --script_mode full_docker && \
|
||||
TORCH_DEVICE_BACKEND_AUTOLOAD=0 python app.py --headless --ebook test.txt --script_mode full_docker && \
|
||||
rm test.txt; \
|
||||
else \
|
||||
echo "Skipping XTTS test run as requested."; \
|
||||
|
||||
Reference in New Issue
Block a user