from utils.API import SparkAPI app_id = input("app_id here :") api_key = input("api_key here :") api_secret = input("api_secret here :") bot = SparkAPI(app_id=app_id ,api_key=api_key ,api_secret=api_secret) bot.chat_stream()