jhj0517 commited on
Commit
3e8d967
1 Parent(s): b17cfc2

update docstring

Browse files
Files changed (1) hide show
  1. modules/whisper_data_class.py +2 -2
modules/whisper_data_class.py CHANGED
@@ -55,8 +55,8 @@ class WhisperGradioComponents:
55
  Parameters
56
  ----------
57
  *params: tuple
58
- This is provided in a tuple because the parameters are passed to a function as a list, for example
59
- btn.click(fn=function, inputs=[comp1, comp2], outputs=[comp3])
60
 
61
  Returns
62
  ----------
 
55
  Parameters
56
  ----------
57
  *params: tuple
58
+ This is provided in a tuple because Gradio does not support **kwargs arbitrary.
59
+ Reference : https://discuss.huggingface.co/t/passing-an-additional-argument-to-a-function/25140/2
60
 
61
  Returns
62
  ----------