Skip to content

Commit

Permalink
fix: adding scheduler reception and displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLLspectre committed Mar 7, 2024
1 parent 8ec675e commit cc80ab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package/Editor/Images/ImageDataClasses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public class Parameters
public int width { get; set; }
public bool hideResults { get; set; }
public string type { get; set; }
public string scheduler { get; set; }
public string prompt { get; set; }
public string negativePrompt { get; set; }
public int height { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion package/Editor/Images/Images.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static void GetInferencesData(Action callback_OnDataGet = null) //why get
Steps = inference.parameters.numInferenceSteps,
Size = new Vector2(inference.parameters.width,inference.parameters.height),
Guidance = inference.parameters.guidance,
Scheduler = "Default", //TODO : change this to reflect the scheduler used for creating this image
Scheduler = inference.parameters.scheduler,
Seed = image.seed,
CreatedAt = inference.createdAt,
modelId = inference.modelId
Expand Down

0 comments on commit cc80ab3

Please sign in to comment.