FluxiFloXStrot / app.py
K00B404's picture
Update app.py
66313e9 verified
raw
history blame contribute delete
403 Bytes
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)