Spaces:
Runtime error
Runtime error
Update text_to_video.py
Browse files- 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
|
| 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 |
|