Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions BUILD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,15 @@
compute_config:
GCP: configs/basic-serverless-config/gce.yaml
AWS: configs/basic-serverless-config/aws.yaml

# owner: akshay
- name: serve-stable-diffusion-v2
emoji: 🔰
title: Deploy Stable Diffusion
description: Text-to-image generation model by Stability AI. Deploy with Ray Serve.
dir: templates/serve-stable-diffusion
cluster_env:
build_id: anyscaleray2441-py312-cu128
compute_config:
GCP: configs/basic-serverless-config/gce.yaml
AWS: configs/basic-serverless-config/aws.yaml
2 changes: 1 addition & 1 deletion templates/serve-stable-diffusion/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

endpoint = "http://localhost:8000/imagine"


# Elliot was here
def generate_image(prompt, image_size):
req = {"prompt": prompt, "img_size": image_size}
resp = requests.get(endpoint, params=req)
Expand Down
Loading