kadirnar commited on
Commit
ae4aad6
1 Parent(s): 574cfb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -28,7 +28,7 @@ def download_model(repo_id, model_name):
28
 
29
  import glob
30
 
31
- @spaces.GPU(duration=500)
32
  def run_inference(prompt_text):
33
  repo_id = "hpcai-tech/Open-Sora"
34
 
@@ -110,7 +110,10 @@ def main():
110
  outputs=output_video
111
  )
112
  gr.Examples(
113
- examples=[["A serene night scene in a forested area. [...] The video is a time-lapse, capturing the transition from day to night, with the lake and forest serving as a constant backdrop.",],
 
 
 
114
  ],
115
  fn=run_inference,
116
  inputs=[prompt_text,],
 
28
 
29
  import glob
30
 
31
+ @spaces.GPU(duration=10)
32
  def run_inference(prompt_text):
33
  repo_id = "hpcai-tech/Open-Sora"
34
 
 
110
  outputs=output_video
111
  )
112
  gr.Examples(
113
+ examples=[
114
+ [
115
+ "A serene night scene in a forested area. The video is a time-lapse, capturing the transition from day to night, with the lake and forest serving as a constant backdrop.",
116
+ ],
117
  ],
118
  fn=run_inference,
119
  inputs=[prompt_text,],