Skip to content

TypeError: Audio.__init__() got an unexpected keyword argument 'source' #54

Description

@QvQKing

Traceback (most recent call last):
File "/root/autodl-tmp/MotionGPT-main/app.py", line 512, in
aud = gr.Audio(source="microphone",
File "/root/miniconda3/envs/mgpt/lib/python3.10/site-packages/gradio/component_meta.py", line 146, in wrapper
return fn(self, **kwargs)
TypeError: Audio.init() got an unexpected keyword argument 'source'
Hello, I want to know how to solve this problem. Thanks!

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