Spaces:
Sleeping
Sleeping
| 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}") | |