Skip to content

Commit

Permalink
Adds original prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanedwardes committed Dec 24, 2023
1 parent 31b60b8 commit 8c1fada
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Runner.Discord/Responders/StableDiffusionResponder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ public class StreamOutput

public async Task<byte[]> GenerateImage(string prompt, CancellationToken token)
{
var parts = prompt.Split();

var size = 512;

var requestPayload = new
Expand All @@ -86,7 +84,7 @@ public async Task<byte[]> GenerateImage(string prompt, CancellationToken token)
output_quality = 90,
output_lossless = false,
metadata_output_format = "none",
original_prompt = "a photograph of an astronaut riding a horse",
original_prompt = prompt,
active_tags = new string[0],
inactive_tags = new string[0],
enable_vae_tiling = true,
Expand Down

0 comments on commit 8c1fada

Please sign in to comment.