I tried using interface endpoint on whisper large and whisper base model but its only giving transcript of approx 400 character and getting this in logs
vg2tj 2022-11-16T17:03:32.646Z /opt/conda/lib/python3.9/site-packages/transformers/generation_utils.py:1296: UserWarning: Neither
max_new_tokenshas been set,
max_lengthwill default to 448 (
max_lengthvia the config is deprecated and
max_lengthwill be removed from the config in v5 of Transformers – we recommend using
max_new_tokensto control the maximum length of the generation.
Can someone please tell how to pass max_new_tokens in Interface endpoint.