Fix build error
This commit is contained in:
parent
89bedca20b
commit
7f06790726
|
@ -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's Riff 🎸
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -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.");
|
||||||
|
|
Loading…
Reference in New Issue