💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~ from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): data = {} colours = ["red", "green", "blue"] for i in range(0, len(colours)): data[i] = colours[i] return data if __name__ == '__main__': app.run() ~~~