Spaces:
Sleeping
Sleeping
| from gradio_client import Client | |
| import sys | |
| # Redirect stdout to file | |
| with open('api_info.txt', 'w', encoding='utf-8') as f: | |
| sys.stdout = f | |
| client = Client("tencent/Hunyuan3D-2") | |
| client.view_api() | |
| sys.stdout = sys.__stdout__ | |
| print("API info written to api_info.txt") | |