PeterL1n commited on
Commit
24e347a
1 Parent(s): 27f6e5d
Files changed (2) hide show
  1. app.py +5 -2
  2. requirements.txt +2 -1
app.py CHANGED
@@ -62,8 +62,11 @@ def generate_image(prompt, base, motion, step):
62
 
63
  # Gradio Interface
64
  with gr.Blocks(css="style.css") as demo:
65
- gr.HTML("<h1><center>AnimateDiff-Lightning ⚡</center></h1>")
66
- gr.HTML("<p><center>Lightning-fast text-to-video generation</center></p><p><center><a href='https://huggingface.co/ByteDance/AnimateDiff-Lightning'>https://huggingface.co/ByteDance/AnimateDiff-Lightning</a></center></p>")
 
 
 
67
  with gr.Group():
68
  with gr.Row():
69
  prompt = gr.Textbox(
 
62
 
63
  # Gradio Interface
64
  with gr.Blocks(css="style.css") as demo:
65
+ gr.HTML(
66
+ "<h1><center>AnimateDiff-Lightning ⚡</center></h1>" +
67
+ "<p><center>Lightning-fast text-to-video generation</center></p>" +
68
+ "<p><center><a href='https://huggingface.co/ByteDance/AnimateDiff-Lightning'>https://huggingface.co/ByteDance/AnimateDiff-Lightning</a></center></p>"
69
+ )
70
  with gr.Group():
71
  with gr.Row():
72
  prompt = gr.Textbox(
requirements.txt CHANGED
@@ -3,4 +3,5 @@ diffusers
3
  gradio
4
  torch
5
  transformers
6
- opencv-python
 
 
3
  gradio
4
  torch
5
  transformers
6
+ opencv-python
7
+ peft