Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

add share to community btn for Hugging Face Spaces #89

Closed
wants to merge 1 commit into from

Conversation

radames
Copy link
Contributor

@radames radames commented Jun 13, 2023

Add share to community button for Hugging Face Spaces

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 13, 2023
output = gr.Video(label="Generated Music")
submit.click(predict_batched, inputs=[text, melody], outputs=[output], batch=True, max_batch_size=MAX_BATCH_SIZE)
output = gr.Video(label="Generated Music", elem_id="generated-video")
output_melody = gr.Audio(label="Melody ", elem_id="melody-output", visible=False)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

send the input melody back as result, specially important when recording from microphone, Gradio converts to a compatible audio encoding that works on the discussions tab

@radames radames closed this Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants