Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ openai.api_key = "sk-proj-G7oOPIl5tlJOJB03v2c7FMdCWjTcy7zsrSZ94lwqiAlrcOxI4JqzcM
|
|
| 8 |
|
| 9 |
# Function to generate ideas using GPT
|
| 10 |
def generate_ideas(prompt):
|
| 11 |
-
response = openai
|
| 12 |
engine="text-davinci-003",
|
| 13 |
prompt=f"Generate related ideas for: {prompt}",
|
| 14 |
max_tokens=100
|
|
|
|
| 8 |
|
| 9 |
# Function to generate ideas using GPT
|
| 10 |
def generate_ideas(prompt):
|
| 11 |
+
response = openai(
|
| 12 |
engine="text-davinci-003",
|
| 13 |
prompt=f"Generate related ideas for: {prompt}",
|
| 14 |
max_tokens=100
|