lysandre HF staff commited on
Commit
d170a8b
1 Parent(s): 280e8b0
Files changed (1) hide show
  1. text_to_video.py +2 -0
text_to_video.py CHANGED
@@ -17,6 +17,8 @@ TEXT_TO_VIDEO_DESCRIPTION = (
17
  class TextToVideoTool(Tool):
18
  default_checkpoint = "damo-vilab/text-to-video-ms-1.7b"
19
  description = TEXT_TO_VIDEO_DESCRIPTION
 
 
20
 
21
  def __init__(self, device=None, **hub_kwargs) -> None:
22
  if not is_accelerate_available():
 
17
  class TextToVideoTool(Tool):
18
  default_checkpoint = "damo-vilab/text-to-video-ms-1.7b"
19
  description = TEXT_TO_VIDEO_DESCRIPTION
20
+ inputs = ['text']
21
+ outputs = ['video']
22
 
23
  def __init__(self, device=None, **hub_kwargs) -> None:
24
  if not is_accelerate_available():