Spaces:
Runtime error
Runtime error
jonathanjordan21
commited on
Commit
•
54a969c
1
Parent(s):
18084d4
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ sum_llm_chain = tag_chain.chain(llm=local_llm)
|
|
25 |
pexels_api_key = os.getenv('pexels_api_key')
|
26 |
|
27 |
def pred(query):
|
28 |
-
folder_name, sentences = pexels.generate_videos(query, pexel_api_key, 1920, 1080)
|
29 |
utils.combine_videos(folder_name)
|
30 |
return {
|
31 |
'video':folder_name,
|
|
|
25 |
pexels_api_key = os.getenv('pexels_api_key')
|
26 |
|
27 |
def pred(query):
|
28 |
+
folder_name, sentences = pexels.generate_videos(query, pexel_api_key, 1920, 1080, llm_chain, sum_llm_chain)
|
29 |
utils.combine_videos(folder_name)
|
30 |
return {
|
31 |
'video':folder_name,
|