cmagganas commited on
Commit
e69f75f
·
verified ·
1 Parent(s): 3e8f658

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ logging.basicConfig(level=logging.INFO)
10
  logger = logging.getLogger(__name__)
11
 
12
  # Patch the OpenAI client with Instructor
13
- client = instructor.from_openai(OpenAI(api_key=os.environ['OPENAI_API_KEY']))
14
 
15
  # Define the Pydantic models
16
  class UserProposal(BaseModel):
 
10
  logger = logging.getLogger(__name__)
11
 
12
  # Patch the OpenAI client with Instructor
13
+ client = instructor.from_openai(OpenAI(api_key=os.getenv('OPENAI_API_KEY')))
14
 
15
  # Define the Pydantic models
16
  class UserProposal(BaseModel):