Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
---
|
2 |
title: nova-d48w1024-osp480
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 5.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
11 |
-
short_description: 'NOVA Text-to-Video
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
title: nova-d48w1024-osp480
|
3 |
+
emoji: ποΈ
|
4 |
+
colorFrom: yellow
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.8.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
11 |
+
short_description: 'NOVA Text-to-Video'
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -56,7 +56,7 @@ def crop_image(image, target_h, target_w):
|
|
56 |
return np.array(image.resize((target_w, target_h), PIL.Image.Resampling.BILINEAR))
|
57 |
|
58 |
|
59 |
-
@spaces.GPU(duration=
|
60 |
def generate_video(
|
61 |
prompt,
|
62 |
negative_prompt,
|
@@ -86,12 +86,12 @@ title = "Autoregressive Video Generation without Vector Quantization"
|
|
86 |
abbr = "<strong>NO</strong>n-quantized <strong>V</strong>ideo <strong>A</strong>utoregressive"
|
87 |
header = (
|
88 |
"<div align='center'>"
|
89 |
-
"<h2>Autoregressive Video Generation without Vector Quantization
|
90 |
-
"<
|
91 |
-
"<a href='https://github.com/baaivision/NOVA' target='_blank' rel='noopener'>[code]</a></
|
92 |
"</div>"
|
93 |
)
|
94 |
-
header2 = f"
|
95 |
|
96 |
video_presets = [
|
97 |
{"label": "33x768x480", "w": 768, "h": 480, "#latents": 9},
|
|
|
56 |
return np.array(image.resize((target_w, target_h), PIL.Image.Resampling.BILINEAR))
|
57 |
|
58 |
|
59 |
+
@spaces.GPU(duration=180)
|
60 |
def generate_video(
|
61 |
prompt,
|
62 |
negative_prompt,
|
|
|
86 |
abbr = "<strong>NO</strong>n-quantized <strong>V</strong>ideo <strong>A</strong>utoregressive"
|
87 |
header = (
|
88 |
"<div align='center'>"
|
89 |
+
"<h2>Autoregressive Video Generation without Vector Quantization  "
|
90 |
+
"<a href='https://arxiv.org/abs/2412.14169' target='_blank' rel='noopener'>[paper]"
|
91 |
+
"<a href='https://github.com/baaivision/NOVA' target='_blank' rel='noopener'>[code]</a></h2>"
|
92 |
"</div>"
|
93 |
)
|
94 |
+
header2 = f""
|
95 |
|
96 |
video_presets = [
|
97 |
{"label": "33x768x480", "w": 768, "h": 480, "#latents": 9},
|