Browse Source

Update 'README.md'

天问 2 weeks ago
parent
commit
f46f443c26
1 changed files with 32 additions and 1 deletions
  1. 32 1
      README.md

+ 32 - 1
README.md

@@ -1,3 +1,34 @@
 # ComfyUI
 
-用于机器学习和深度学习的应用GUI构建。
+用于机器学习和深度学习的应用GUI构建。
+
+```
+git clone https://github.com/comfyanonymous/ComfyUI.git
+cd ComfyUI
+
+pip install -r requirements.txt
+
+python app.py
+# 访问 http://localhost:5000
+```
+
+
+```
+from comfyui import ComfyUI
+
+app = ComfyUI()
+
+@app.route('/')
+def home():
+    return app.render_template('index.html')
+
+if __name__ == '__main__':
+    app.run(debug=True)
+
+```
+
+## Reference
+
+- [comfyanonymous/ComfyUI](https://github.com/comfyanonymous/ComfyUI.git)
+
+