Spaces:
Running
Running
File size: 644 Bytes
2ca01e7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
#!/usr/bin/env python3
"""
Test script to demonstrate debug output
"""
import os
from app import remove_bg, image_generator
def test_debug_output():
"""Test API calls to see debug output"""
print("🧪 Testing Debug Output...")
print("=" * 50)
print("\n1️⃣ Testing Background Removal with debug output:")
result = remove_bg("https://example.com/test-image.jpg")
print(f"Result: {result}")
print("\n2️⃣ Testing Image Generator with debug output:")
result = image_generator("A beautiful sunset over mountains")
print(f"Result: {result}")
if __name__ == "__main__":
test_debug_output()
|