dagloop5 commited on
Commit
9342ac4
·
verified ·
1 Parent(s): 8afe5a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -606,6 +606,9 @@ def on_highres_toggle(first_image, last_image, high_res):
606
  return gr.update(value=w), gr.update(value=h)
607
 
608
 
 
 
 
609
  @spaces.GPU(duration=gpu_duration)
610
  @torch.inference_mode()
611
  def generate_video(
 
606
  return gr.update(value=w), gr.update(value=h)
607
 
608
 
609
+ def get_gpu_duration(gpu_duration: float):
610
+ return int(gpu_duration)
611
+
612
  @spaces.GPU(duration=gpu_duration)
613
  @torch.inference_mode()
614
  def generate_video(