Update unit2/smolagents/vision_web_browser.py (#120)
Browse files- Update unit2/smolagents/vision_web_browser.py (29d9a4c6bd9f60c0ad88efd7957eb44be9868d5a)
Co-authored-by: Ammar E <[email protected]>
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 |
-
|
|
|
|
| 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()
|