Browse Source

Update 'README.md'

天问 4 months ago
parent
commit
7834462089
1 changed files with 14 additions and 0 deletions
  1. 14 0
      README.md

+ 14 - 0
README.md

@@ -1,2 +1,16 @@
 # StreamDiffusion
+文字生成图片,图片生成图片,实时。
+
+## Usage
+
+demo项目包含文字转图片,前端react打包到python目录,才有docker方式部署
+
+```
+cd StreamDiffusion/demo/realtime-txt2img
+
+docker build -t stream-diffusion:latest -f Dockerfile .
+docker run --gpus all -it -v $(pwd):/home/ubuntu/streamdiffusion stream-diffusion:latest
+
+
+```