Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ from langchain.prompts import PromptTemplate
|
|
9 |
from langchain.chains import LLMChain
|
10 |
from langchain.llms import OpenAI
|
11 |
import openai
|
|
|
12 |
|
13 |
# Initialize OpenAI client with Streamlit secrets
|
14 |
openai_api_key = st.secrets["OPENAI_API_KEY"]
|
|
|
9 |
from langchain.chains import LLMChain
|
10 |
from langchain.llms import OpenAI
|
11 |
import openai
|
12 |
+
import httpx # Only needed if using proxies
|
13 |
|
14 |
# Initialize OpenAI client with Streamlit secrets
|
15 |
openai_api_key = st.secrets["OPENAI_API_KEY"]
|