m-ric HF staff commited on
Commit
793e836
·
verified ·
1 Parent(s): 7ac1911

Update text_to_video.py

Browse files
Files changed (1) hide show
  1. text_to_video.py +1 -1
text_to_video.py CHANGED
@@ -43,7 +43,7 @@ class TextToVideoTool(Tool):
43
 
44
  self.is_initialized = True
45
 
46
- def __call__(self, prompt, seconds=2):
47
  if not self.is_initialized:
48
  self.setup()
49
 
 
43
 
44
  self.is_initialized = True
45
 
46
+ def forward(self, prompt, seconds=2):
47
  if not self.is_initialized:
48
  self.setup()
49