thatting commited on
Commit
21f892b
·
verified ·
1 Parent(s): 839697a

Update app.py

Browse files

Import openai module

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ os.system('pip install openai')
12
 
13
 
14
  # Import modules and classes from openai and smolagents
15
- # import openai
16
  from smolagents import CodeAgent, OpenAIServerModel, DuckDuckGoSearchTool, VisitWebpageTool, PythonInterpreterTool, SpeechToTextTool
17
 
18
  # Create API keys
 
12
 
13
 
14
  # Import modules and classes from openai and smolagents
15
+ import openai
16
  from smolagents import CodeAgent, OpenAIServerModel, DuckDuckGoSearchTool, VisitWebpageTool, PythonInterpreterTool, SpeechToTextTool
17
 
18
  # Create API keys