from lv_recipe_chatbot.app import create_demo, ConversationBot import openai import os # for Hugging Face if __name__ == "__main__": openai.api_key = os.environ["OPENAI_API_KEY"] demo = create_demo(ConversationBot(verbose=True)) demo.launch(auth=( os.environ["GRADIO_DEMO_USERNAME"], os.environ["GRADIO_DEMO_PASSWORD"] ))