Spaces:
Runtime error
Runtime error
File size: 403 Bytes
e547b24 c9bb8a8 e547b24 60f3a05 4993c6e e547b24 4993c6e 66313e9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
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) |