Spaces:
Build error
Build error
app.py
CHANGED
|
@@ -49,6 +49,7 @@ def generate_gifs(gif_transcript, words, words_timestamp):
|
|
| 49 |
giflist = gif.split()
|
| 50 |
|
| 51 |
#getting gif indexes from the generator
|
|
|
|
| 52 |
giflist_indxs = list(list(get_gif_word_indexes(words, giflist))[0])
|
| 53 |
|
| 54 |
#getting start and end timestamps for a gif video
|
|
|
|
| 49 |
giflist = gif.split()
|
| 50 |
|
| 51 |
#getting gif indexes from the generator
|
| 52 |
+
print(f"haystack and needle function returns value as : {list(get_gif_word_indexes(words, giflist))}")
|
| 53 |
giflist_indxs = list(list(get_gif_word_indexes(words, giflist))[0])
|
| 54 |
|
| 55 |
#getting start and end timestamps for a gif video
|