hysts HF Staff commited on
Commit
97fc5f6
·
1 Parent(s): 7681a71

Fix type annotation

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,7 +75,7 @@ net, feature_utils, seq_cfg = get_model()
75
  @spaces.GPU(duration=120)
76
  @torch.inference_mode()
77
  def video_to_audio(
78
- video: gr.Video,
79
  prompt: str,
80
  negative_prompt: str,
81
  seed: int,
@@ -90,7 +90,7 @@ def video_to_audio(
90
  the MMAudio model. The output is a video file with generated audio.
91
 
92
  Args:
93
- video (gr.Video): Input video used for visual and temporal conditioning.
94
  prompt (str): Text prompt describing the desired audio content.
95
  negative_prompt (str): Text describing audio characteristics to avoid.
96
  seed (int): Random seed for reproducibility (-1 for random).
 
75
  @spaces.GPU(duration=120)
76
  @torch.inference_mode()
77
  def video_to_audio(
78
+ video: str,
79
  prompt: str,
80
  negative_prompt: str,
81
  seed: int,
 
90
  the MMAudio model. The output is a video file with generated audio.
91
 
92
  Args:
93
+ video (str): Input video used for visual and temporal conditioning.
94
  prompt (str): Text prompt describing the desired audio content.
95
  negative_prompt (str): Text describing audio characteristics to avoid.
96
  seed (int): Random seed for reproducibility (-1 for random).