<s>[INST] from flask import Flask
from selenium.webdriver import Firefox, FirefoxProfile
from selenium.webdriver import FirefoxOptions
from selenium.common.exceptions import TimeoutException

app = Flask(__name__)

@app.route("/")
def home_page():
    return "This is my homepage"

@app.route("/scraper", methods=["GET"])
def web_scraper():
    profile = FirefoxProfile()
    profile.set_preference("permissions.default.image", 2)
    profile.set_preference("javascript.enabled", False)
    driver = Firefox(firefox_profile=profile, options=nano_options)
    try:
        driver.get("https://techwithtim.net")
        driver.implicitly_wait(5)
        print(driver.title)

    except TimeoutException:
        print("Timed out waiting")

    finally:
        driver.delete_all_cookies()
        driver.quit()

    return "hello from scraper"

if __name__ == '__main__':
    app.run(debug=True)

Inside the Firefox function, you are passing an unassigned variable "nano_options". How to fix this error?[/INST]