Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ class MyCustomDuckDuckGoTool(BaseTool):
|
|
27 |
def _get_tool(self):
|
28 |
# Create an instance of the tool when needed
|
29 |
return MyCustomDuckDuckGoTool()
|
30 |
-
api_key = os.getenv("
|
31 |
os.environ["OPENAI_API_KEY"] = api_key
|
32 |
|
33 |
st.set_page_config(
|
|
|
27 |
def _get_tool(self):
|
28 |
# Create an instance of the tool when needed
|
29 |
return MyCustomDuckDuckGoTool()
|
30 |
+
api_key = os.getenv("OPENAI_API_KEY")
|
31 |
os.environ["OPENAI_API_KEY"] = api_key
|
32 |
|
33 |
st.set_page_config(
|