Spaces:
Runtime error
Runtime error
import gradio as gr | |
import requests | |
import io | |
import random | |
import os | |
import time | |
from PIL import Image | |
import json | |
# Project by Nymbo | |
from diffusers import DiffusionPipeline | |
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-video-diffusion-img2vid") | |
image = Image.open("19616f3c-1419-43a1-baa7-c3c6ee8b0980.png") # | |
print("generating.....") | |
vid = pipe(image=image).images[0] | |
print(vid) |