Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,7 +142,7 @@ class Pipeline:
|
|
| 142 |
|
| 143 |
|
| 144 |
pipeline = Pipeline()
|
| 145 |
-
def fn(video_path, temperature=0.7, top_p=0.95, max_text_length=
|
| 146 |
return pipeline(video_path, temperature, top_p, max_text_length, num_return_sequences)
|
| 147 |
|
| 148 |
title = "LaViLa"
|
|
|
|
| 142 |
|
| 143 |
|
| 144 |
pipeline = Pipeline()
|
| 145 |
+
def fn(video_path, temperature=0.7, top_p=0.95, max_text_length=120, num_return_sequences=5):
|
| 146 |
return pipeline(video_path, temperature, top_p, max_text_length, num_return_sequences)
|
| 147 |
|
| 148 |
title = "LaViLa"
|