jonathanjordan21
commited on
Commit
·
26cabee
1
Parent(s):
ec24a25
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(product_name, orientation):
|
28 |
-
folder_name, sentences = pexels.generate_videos(
|
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(product_name, orientation):
|
28 |
+
folder_name, sentences = pexels.generate_videos(product_name, pexel_api_key, orientation, llm_chain, sum_llm_chain)
|
29 |
utils.combine_videos(folder_name)
|
30 |
return {
|
31 |
'video':folder_name,
|