ciditel commited on
Commit
518de77
·
verified ·
1 Parent(s): 3022b1a
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ pipeline_text2image = AutoPipelineForText2Image.from_pretrained("stabilityai/sdx
14
  pipeline_image2image = AutoPipelineForImage2Image.from_pipe(pipeline_text2image).to("cuda")
15
  pipeline_text2image = pipeline_text2image.to("cuda")
16
 
17
- def image2video(image,seed="",fps=7,outfile=""):
18
  if seed=="":
19
  seed=random.randint(0, 5000)
20
 
@@ -64,7 +64,7 @@ gradio_app_img2img = gr.Interface(
64
  )
65
 
66
  gradio_app_img2video = gr.Interface(
67
- fn=img2img,
68
  inputs=[
69
  gr.Image(type='filepath'),
70
  gr.Text(),
 
14
  pipeline_image2image = AutoPipelineForImage2Image.from_pipe(pipeline_text2image).to("cuda")
15
  pipeline_text2image = pipeline_text2image.to("cuda")
16
 
17
+ def img2video(image,seed="",fps=7,outfile=""):
18
  if seed=="":
19
  seed=random.randint(0, 5000)
20
 
 
64
  )
65
 
66
  gradio_app_img2video = gr.Interface(
67
+ fn=img2video,
68
  inputs=[
69
  gr.Image(type='filepath'),
70
  gr.Text(),