18 lines
486 B
Python
18 lines
486 B
Python
#!/usr/bin/env python3
|
|
"""Check inference __init__.py and engine.py imports."""
|
|
import subprocess, sys
|
|
|
|
cmd = """
|
|
echo "=== inference/__init__.py ==="
|
|
cat /opt/qwen3-tts/qwen3_tts_gguf/inference/__init__.py
|
|
|
|
echo ""
|
|
echo "=== engine.py imports ==="
|
|
head -30 /opt/qwen3-tts/qwen3_tts_gguf/inference/engine.py
|
|
"""
|
|
result = subprocess.run(
|
|
["docker", "run", "--rm", "--entrypoint", "bash", "sudx/qwen3-tts:latest", "-c", cmd],
|
|
capture_output=True, text=True
|
|
)
|
|
print(result.stdout)
|