File:Generative AI Audio with Audiocraft 3 – Audiogen with Gradio.webm

Summary

Description
English: This tutorial series is on making generative music and audio from a simple text description of the sound using Facebook's Audiocraft Library.

In the last video, we set up a web form to be able to submit descriptions to a python backend, and return the generated audio file for download.

In this video we'll replace our complicated front and backend with some very simple UI components and functionality using Gradio, the interface commonly seen used in Hugging Face (https://huggingface.co/spaces/facebook/MusicGen)

Starting code: https://github.com/heaversm/audiocraft-tutorials/tree/tutorials/03-audiogen-flask

Final code: https://github.com/heaversm/audiocraft-tutorials/tree/tutorials/04-audiogen-gradio

About Me: I am a Staff Design Technologist on Mozilla's Innovation Team. All opinions and explorations are my own. Learn more about Mozilla Innovation at future.mozilla.org

0:00 - review 0:45 - gradio interfaces on hugging face 1:30 - remove all the complicated frontend and backend code 2:00 - installing gradio 3:25 - creating a simple gradio frontend 4:45 - understanding gradio blocks and components 5:40 - running the gradio app 6:20 - setting up our form, submission, and audio player with gradio 7:30 - modifying our generate audio function to work with gradio 8:35 - testing our final app

9:20 - wrapping up and next steps
Date
Source YouTube: Generative AI Audio with Audiocraft 3: Audiogen with Gradio – View/save archived versions on archive.orgCategory:Media from YouTube
Author Practical AI through Prototypes

Licensing

This video, screenshot or audio excerpt was released under the Creative Commons license option on YouTube before August 2025. (YouTube changed the license version from CC BY 3.0 to 4.0 on August 1; this was not retroactive.)
For videos uploaded or licensed after July 2025 use {{YouTube CC-BY 4.0}}
To the uploader: You must provide a link (URL) to the original file and the authorship information if available.
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
Attribution:
Practical AI through Prototypes
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Category:CC-BY-3.0#Generative%20AI%20Audio%20with%20Audiocraft%203%20–%20Audiogen%20with%20Gradio.webm
Category:Media from YouTube#Generative%20AI%20Audio%20with%20Audiocraft%203%20–%20Audiogen%20with%20Gradio.webm
This file, which was originally posted to an external website, has not yet been reviewed by an administrator or reviewer to confirm that the above license is valid. See Category:License review needed for further instructions.
Category:License review needed (video)#152523406 Category:Uploaded with video2commons Category:Video tutorials Category:Videos in English Category:AI-generated music Category:Open source artificial intelligence Category:Videos of 2023 Category:Videos of free software Category:Videos uploaded by Prototyperspective
Category:AI-generated music Category:CC-BY-3.0 Category:License review needed (video) Category:Media from YouTube Category:Open source artificial intelligence Category:Uploaded with video2commons Category:Video tutorials Category:Videos in English Category:Videos of 2023 Category:Videos of free software Category:Videos uploaded by Prototyperspective