tools4profit
Results
2
comments of
tools4profit
transformers==4.36.2 diffusers==0.25.0 accelerate==0.27.2 torch==2.1.2 huggingface_hub==0.16.4 opencv-python gradio==4.15.0 imageio imageio-ffmpeg
import gradio as gr from diffusers import AnimateDiffPipeline import torch # Charger le pipeline (change le modèle si nécessaire) pipe = AnimateDiffPipeline.from_pretrained( "guoyww/AnimateDiff", torch_dtype=torch.float16 ).to("cuda") # Fonction de génération d'animation...