armen425221356 commited on
Commit
a1f4d33
·
verified ·
1 Parent(s): 2b0a4bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -72,7 +72,7 @@ def generate_image(prompt, base="Realistic", motion="", step=8, progress=gr.Prog
72
 
73
  name = str(uuid.uuid4()).replace("-", "")
74
  path = f"/tmp/{name}.mp4"
75
- export_to_video(output.frames[0], path, fps=fps)
76
  return path
77
 
78
 
@@ -125,16 +125,10 @@ with gr.Blocks(css="style.css") as demo:
125
  ('2-Step', 2),
126
  ('4-Step', 4),
127
  ('8-Step', 8),
128
- ('10-Step', 10),
129
- ('12-Step', 12),
130
- ('16-Step', 16),
131
- ('20-Step', 20),
132
- ('24-Step', 24),
133
  ],
134
  value=4,
135
  interactive=True
136
  )
137
-
138
  submit = gr.Button(
139
  scale=1,
140
  variant='primary'
 
72
 
73
  name = str(uuid.uuid4()).replace("-", "")
74
  path = f"/tmp/{name}.mp4"
75
+ export_to_video(output.frames[0], path, fps=10)
76
  return path
77
 
78
 
 
125
  ('2-Step', 2),
126
  ('4-Step', 4),
127
  ('8-Step', 8),
 
 
 
 
 
128
  ],
129
  value=4,
130
  interactive=True
131
  )
 
132
  submit = gr.Button(
133
  scale=1,
134
  variant='primary'