import inspect
import qwen_tts
from qwen_tts.inference.qwen3_tts_model import Qwen3TTSModel

print('=== Methods of Qwen3TTSModel ===')
for name, func in inspect.getmembers(Qwen3TTSModel, predicate=inspect.isfunction):
    try:
        sig = inspect.signature(func)
    except Exception:
        sig = 'Unavailable'
    print(f'{name}{sig}')
    # Print first few lines of docstring if exists
    doc = inspect.getdoc(func)
    if doc:
        first_lines = '\n'.join(['  ' + line for line in doc.split('\n')[:3]])
        print(first_lines)
