aseeda commited on
Commit
29d9a4c
·
verified ·
1 Parent(s): 7b2dd37

Update unit2/smolagents/vision_web_browser.py

Browse files

it is not immediately clear what needs to be done to load environment variables so I suggested adding a helpful comment to aid newbies.

unit2/smolagents/vision_web_browser.py CHANGED
@@ -186,7 +186,8 @@ When you have modals or cookie banners on screen, you should get rid of them bef
186
 
187
  def main():
188
  # Load environment variables
189
- load_dotenv()
 
190
 
191
  # Parse command line arguments
192
  args = parse_arguments()
 
186
 
187
  def main():
188
  # Load environment variables
189
+ # For example to use an OpenAI model, create a local .env file with OPENAI_API_KEY="<your_open_ai_key_here>"
190
+ load_dotenv()
191
 
192
  # Parse command line arguments
193
  args = parse_arguments()