Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ _ = load_dotenv()
|
|
15 |
|
16 |
# Define the LLM model
|
17 |
llm_model = "gpt-3.5-turbo"
|
18 |
-
llm = ChatOpenAI(temperature=0, model=llm_model, openai_api_key=os.getenv('
|
19 |
|
20 |
# Load tools
|
21 |
tools = load_tools(["llm-math", "wikipedia"], llm=llm)
|
|
|
15 |
|
16 |
# Define the LLM model
|
17 |
llm_model = "gpt-3.5-turbo"
|
18 |
+
llm = ChatOpenAI(temperature=0, model=llm_model, openai_api_key=os.getenv('OPEN_API_KEY')) # Ensure to pass the API key
|
19 |
|
20 |
# Load tools
|
21 |
tools = load_tools(["llm-math", "wikipedia"], llm=llm)
|