*** > 77 ) . Running this sequence through the model will result in indexing errors. Do not worry, it is normal.

Speech to Image
	
The following code can generate an image from an audio sample using pre-trained OpenAI whisper-small and Stable Diffusion.


	Copied
import torch

import matplotlib.pyplot as plt
from datasets import load_dataset
from diffusers import DiffusionPipeline
from transformers import (
    WhisperForConditionalGeneration,