dcr / inspect_tripo.py
Desarrollo33's picture
feat: add trellis integration with robust fallback
4caf6af
raw
history blame contribute delete
469 Bytes
from gradio_client import Client
import sys
# Inspection for Stability-AI/TripoSR
try:
print("Inspecting TripoSR...")
with open('api_tripo.txt', 'w', encoding='utf-8') as f:
sys.stdout = f
client = Client("stabilityai/TripoSR")
client.view_api()
sys.stdout = sys.__stdout__
print("TripoSR info saved.")
except Exception as e:
# Reset stdout just in case
sys.stdout = sys.__stdout__
print(f"TripoSR failed: {e}")