Spaces:
Sleeping
Sleeping
Commit
·
8dd8f1d
1
Parent(s):
1313c67
Update utils2.py
Browse files
utils2.py
CHANGED
@@ -2,6 +2,7 @@ from langchain.llms import OpenAI
|
|
2 |
from langchain.prompts import PromptTemplate
|
3 |
from langchain.chains import LLMChain
|
4 |
from langchain.tools import DuckDuckGoSearchRun
|
|
|
5 |
|
6 |
# Function to generate video script
|
7 |
def generate_script(prompt,video_length,creativity,tasktype,api_key):
|
|
|
2 |
from langchain.prompts import PromptTemplate
|
3 |
from langchain.chains import LLMChain
|
4 |
from langchain.tools import DuckDuckGoSearchRun
|
5 |
+
langchain.verbose = False
|
6 |
|
7 |
# Function to generate video script
|
8 |
def generate_script(prompt,video_length,creativity,tasktype,api_key):
|