Kvikontent commited on
Commit
3e146c8
β€’
1 Parent(s): b8de6eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -3
app.py CHANGED
@@ -24,14 +24,25 @@ description="""
24
  ⌚ Estimated generation time is **150 seconds**\n
25
  🎁 Space is running on ZeroGPU, if you want faster generation, duplicate space and choose faster GPU
26
  """
27
- num_inference_steps=gr.Slider(8, 64, step=8, value=24, label="Num Inference Steps", info="More steps then better quality")
28
- num_frames=gr.Slider(8, 640, step=8, value=200, label="Num of Frames", info="It is duration of video")
29
 
30
  interface = gr.Interface(
31
  generate,
32
  inputs=[prompt],
33
  additional_inputs=[num_inference_steps, num_frames],
34
- examples=[["Astronaut riding a horse"], ["Darth vader surfing in waves"]],
 
 
 
 
 
 
 
 
 
 
 
35
  outputs="video",
36
  title="Openai Sora (Unofficial)",
37
  description=description,
 
24
  ⌚ Estimated generation time is **150 seconds**\n
25
  🎁 Space is running on ZeroGPU, if you want faster generation, duplicate space and choose faster GPU
26
  """
27
+ num_inference_steps=gr.Slider(8, 128, step=1, value=24, label="Num Inference Steps", info="More steps then better quality")
28
+ num_frames=gr.Slider(8, 1000, step=1, value=200, label="Num of Frames", info="It is duration of video")
29
 
30
  interface = gr.Interface(
31
  generate,
32
  inputs=[prompt],
33
  additional_inputs=[num_inference_steps, num_frames],
34
+ examples=[
35
+ ["Astronaut riding a horse", 60, 100],
36
+ ["Darth vader surfing in waves", 30, 200],
37
+ ["A house in the woods in ocean", 70, 100],
38
+ ["A car in the forest", 70, 100],
39
+ ["A house firing", 60, 150]
40
+ ["A plane firing and falling down", 100, 20],
41
+ ["Campfire", 50, 50],
42
+ ["Zombie apocalypse", 100, 20],
43
+ ["A New Yourk City", 100, 20],
44
+ ["A man running in beautiufl forest", 100, 20]
45
+ ],
46
  outputs="video",
47
  title="Openai Sora (Unofficial)",
48
  description=description,