Spaces:
Running on Zero
Running on Zero
Fix type annotation
Browse files
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:
|
| 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 (
|
| 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).
|