Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def generate_linkedin_post(topic):
|
|
| 14 |
"And only contain 3 points."
|
| 15 |
"The tone should be positive and encouraging, suitable for networking and professional growth."
|
| 16 |
)
|
| 17 |
-
llm = OpenAI(temperature=0.7, openai_api_key=OPENAI_API_KEY)
|
| 18 |
response = llm(prompt)
|
| 19 |
return response
|
| 20 |
|
|
|
|
| 14 |
"And only contain 3 points."
|
| 15 |
"The tone should be positive and encouraging, suitable for networking and professional growth."
|
| 16 |
)
|
| 17 |
+
llm = OpenAI(temperature=0.7, openai_api_key=st.secrets["OPENAI_API_KEY"])
|
| 18 |
response = llm(prompt)
|
| 19 |
return response
|
| 20 |
|