Spaces:
Runtime error
Runtime error
Rex Cheng commited on
Commit Β·
77e7170
1
Parent(s): 967924e
spaces GPU
Browse files55 unmodified lines56575859606129 unmodified lines91929394959655 unmodified linesnet, feature_utils, seq_cfg = get_model()@torch.inference_mode()def video_to_audio(video: gr.Video, prompt: str, negative_prompt: str, seed: int, num_steps: int,cfg_strength: float, duration: float):29 unmodified linesreturn video_save_path@torch.inference_mode()def text_to_audio(prompt: str, negative_prompt: str, seed: int, num_steps: int, cfg_strength: float,duration: float):55 unmodified lines5657585960616229 unmodified lines9293949596979855 unmodified linesnet, feature_utils, seq_cfg = get_model()@spaces.GPU@torch.inference_mode()def video_to_audio(video: gr.Video, prompt: str, negative_prompt: str, seed: int, num_steps: int,cfg_strength: float, duration: float):29 unmodified linesreturn video_save_path@spaces.GPU@torch.inference_mode()def text_to_audio(prompt: str, negative_prompt: str, seed: int, num_steps: int, cfg_strength: float,duration: float):
app.py+2