Spaces:
Runtime error
Runtime error
Commit
·
76a79fc
1
Parent(s):
b26890e
Update util.py
Browse files
util.py
CHANGED
@@ -3,7 +3,7 @@ from langchain.chains import SimpleSequentialChain
|
|
3 |
|
4 |
|
5 |
# Function to generate title and Logline from simple chaining
|
6 |
-
def
|
7 |
# Setting up OpenAI LLM
|
8 |
llm = OpenAI(temperature=creativity, openai_api_key=api_key,
|
9 |
model_name='gpt-3.5-turbo')
|
|
|
3 |
|
4 |
|
5 |
# Function to generate title and Logline from simple chaining
|
6 |
+
def generate_logline(prompt, creativity, api_key):
|
7 |
# Setting up OpenAI LLM
|
8 |
llm = OpenAI(temperature=creativity, openai_api_key=api_key,
|
9 |
model_name='gpt-3.5-turbo')
|