Skip to content

Fix TypeError: Audio.__init__() got an unexpected keyword argument 'source'. Should be list type #88

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
@@ -356,7 +356,7 @@ def bot_example(history, responses):
])
chat_instruct_sum = gr.State([(None, '''
👋 Hi, I'm MotionGPT! I can generate realistic human motion from text, or generate text from motion.

1. You can chat with me in pure text like generating human motion following your descriptions.
2. After generation, you can click the button in the top right of generation human motion result to download the human motion video or feature stored in .npy format.
3. With the human motion feature file downloaded or got from dataset, you are able to ask me to translate it!
@@ -513,7 +513,7 @@ def bot_example(history, responses):
container=False)

with gr.Row():
aud = gr.Audio(source="microphone",
aud = gr.Audio(sources=["microphone"],
label="Speak input",
type='filepath')
btn = gr.UploadButton("📁 Upload motion",