Spaces:
Running
on
Zero
Running
on
Zero
Kvikontent
commited on
Commit
β’
3e146c8
1
Parent(s):
b8de6eb
Update app.py
Browse files
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,
|
28 |
-
num_frames=gr.Slider(8,
|
29 |
|
30 |
interface = gr.Interface(
|
31 |
generate,
|
32 |
inputs=[prompt],
|
33 |
additional_inputs=[num_inference_steps, num_frames],
|
34 |
-
examples=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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,
|