PhyscalX commited on
Commit
7bce0f5
β€’
1 Parent(s): ec9e514

Update README.md

Browse files
Files changed (2) hide show
  1. README.md +4 -4
  2. app.py +5 -5
README.md CHANGED
@@ -1,14 +1,14 @@
1
  ---
2
  title: nova-d48w1024-osp480
3
- emoji: πŸ“‰
4
- colorFrom: purple
5
  colorTo: gray
6
  sdk: gradio
7
- sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
- short_description: 'NOVA Text-to-Video APP'
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=75)
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</h2>"
90
- "<h3><a href='https://arxiv.org/abs/2412.14169' target='_blank' rel='noopener'>[paper]</a>"
91
- "<a href='https://github.com/baaivision/NOVA' target='_blank' rel='noopener'>[code]</a></h3>"
92
  "</div>"
93
  )
94
- header2 = f"<div align='center'><h3>🎞️ A {abbr} model for continuous visual generation</h3></div>"
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 &nbsp"
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},