Skip to content

Commit

Permalink
add description and change pipeline.json
Browse files Browse the repository at this point in the history
  • Loading branch information
meet-rocking committed Nov 28, 2024
1 parent 510fbbb commit c618bf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
def compute(prompt, inference_steps):
"""
Pipeline to generate images based on text description
it takes description and inference steps as an input and provide the result image
prompt: text description of image
inference_steps: difussion steps
Expand Down
4 changes: 1 addition & 3 deletions frontend/core/pipelines/stable-diffusion-2/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"information": {
"id": "stable-diffusion-2",
"name": "Stable Diffusion 2",
"description": "prompt: text description of image\ninference_steps: difussion steps\n\noutput: generated image path\n\nuse GPU to run this pipeline, we are using float16 dtype",
"description": "Pipeline to generate images based on text description\nit takes description and inference steps as an input and provide the result image\nprompt: text description of image\ninference_steps: difussion steps\n\noutput: generated image path\n\nuse GPU to run this pipeline, we are using float16 dtype",
"system_versions": [
"0.1"
],
Expand Down Expand Up @@ -314,8 +314,6 @@
"events": {}
}
},
"sink": "C:/my_blocks/stable-diffusion-2/",
"build": "C:/my_blocks/stable-diffusion-2/",
"name": "stable-diffusion-2",
"id": "pipeline-zavlrd78q1mt"
}

0 comments on commit c618bf9

Please sign in to comment.