This commit is contained in:
Seth Forsgren 2022-11-24 18:35:50 -08:00
commit 4a3de3e6f9
2 changed files with 4 additions and 3 deletions

View File

@ -59,7 +59,8 @@ const Info = () => {
</Dialog.Title> </Dialog.Title>
<div className="mt-2"> <div className="mt-2">
<p className="text-sm text-gray-500"> <p className="text-sm text-gray-500">
Riffusion is a fine-tuned Stable Diffusion model that generates spectrogram images from any text prompt. <br></br> Riffusion is a fine-tuned Stable Diffusion model that
generates spectrogram images from any text prompt. <br></br>
<br></br> <br></br>
These images are then converted into music. <br></br> These images are then converted into music. <br></br>
</p> </p>
@ -71,7 +72,7 @@ const Info = () => {
className="inline-flex justify-center rounded-md border border-transparent bg-sky-100 px-4 py-2 text-sm font-medium text-sky-800 hover:bg-sky-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-500 focus-visible:ring-offset-2" className="inline-flex justify-center rounded-md border border-transparent bg-sky-100 px-4 py-2 text-sm font-medium text-sky-800 hover:bg-sky-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-500 focus-visible:ring-offset-2"
onClick={() => setOpen(false)} onClick={() => setOpen(false)}
> >
Let's Riff 🎸 Let&apos;s Riff 🎸
</button> </button>
</div> </div>
</div> </div>

View File

@ -67,7 +67,7 @@ export default function Home() {
// On load, create a player synced to the tone transport // On load, create a player synced to the tone transport
useEffect(() => { useEffect(() => {
const audioUrl = inferenceResults[0].audio; const audioUrl = defaultInferenceResults[0].audio;
const player = new Tone.Player(audioUrl, () => { const player = new Tone.Player(audioUrl, () => {
console.log("Created player."); console.log("Created player.");