V3 / app.py
AngelaKkkkkkkkk's picture
Update app.py
301751c verified
raw
history blame
336 Bytes
import subprocess
# Check if vllm is installed
try:
result = subprocess.run(["pip", "show", "vllm"], capture_output=True, text=True)
if "Name: vllm" in result.stdout:
print("vllm is installed!")
else:
print("vllm is not installed!")
except Exception as e:
print(f"Error checking vllm installation: {e}")