flocolombari commited on
Commit
9a69098
1 Parent(s): f58a624

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def video_to_descriptions(video):
40
 
41
  # Concaténer les descriptions
42
  concatenated_descriptions = " ".join(descriptions)
43
- concatenated_descriptions = Summarize(concatenated_descriptions, max_length=(concatenated_descriptions.length // 3))
44
 
45
  return concatenated_descriptions["summarized-text"]
46
 
 
40
 
41
  # Concaténer les descriptions
42
  concatenated_descriptions = " ".join(descriptions)
43
+ concatenated_descriptions = Summarize(concatenated_descriptions, max_length=(len(concatenated_descriptions) / 3))
44
 
45
  return concatenated_descriptions["summarized-text"]
46