from functions import demo import os from getpass import getpass from dotenv import load_dotenv load_dotenv() if "OPENAI_API_KEY" not in os.environ: os.environ["OPENAI_API_KEY"] = getpass("Enter OpenAI API key:") ## Uncomment the line below to launch the chat app with UI demo.launch(debug=True)