Skip to content

Using audiotools.preference for mushra listening test #120

Description

@UkiTenzai

I created an app for mushra listening test based on https://descriptinc.github.io/audiotools/tutorials/listening_tests.html. But it raised an error:

Traceback (most recent call last):
  File "mushra.py", line 61, in <module>
    player = pr.Player(app)
  File "/home/xxx/anaconda3/envs/torch/lib/python3.8/site-packages/audiotools/preference.py", line 243, in __init__
    self.app.load(_js=load_wavesurfer_js)
TypeError: event_trigger() got an unexpected keyword argument '_js'
/home/xxx/anaconda3/envs/torch/lib/python3.8/site-packages/gradio/analytics.py:106: UserWarning: IMPORTANT: You are using gradio version 4.37.2, however version 4.44.1 is available, please upgrade. 
--------
  warnings.warn(

I believe this is a bug within descript-audiotools. How to fix it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions