diff --git a/handler.py b/handler.py index 8aee383..194e8b4 100644 --- a/handler.py +++ b/handler.py @@ -53,19 +53,6 @@ def start_comfyui(): if comfyui_process is not None and comfyui_process.poll() is None: return True - # Debug: show model paths - print("=== Model Path Debug ===") - import subprocess - for path in ["/runpod-volume", "/runpod-volume/models", "/workspace/ComfyUI/models"]: - result = subprocess.run(["ls", "-la", path], capture_output=True, text=True) - print(f"{path}:") - print(result.stdout[:500] if result.stdout else f" Error: {result.stderr}") - - # Find any .safetensors files - result = subprocess.run(["find", "/runpod-volume", "-name", "*.safetensors", "-type", "f"], - capture_output=True, text=True, timeout=30) - print(f"Safetensors on volume:\n{result.stdout[:1000] if result.stdout else 'None found'}") - print("Starting ComfyUI server...") comfyui_process = subprocess.Popen(