From 4faa334bf601dbbb11b0cfc39431dc89af9289f9 Mon Sep 17 00:00:00 2001 From: ManInDark <61268856+ManInDark@users.noreply.github.com> Date: Thu, 10 Aug 2023 23:27:35 +0200 Subject: [PATCH] Styled up the opened tab --- ui/easydiffusion/bucket_manager.py | 2 +- ui/easydiffusion/easydb/mappings.py | 38 ++++++++++++++--------------- ui/media/css/single-gallery.css | 33 +++++++++++++++++++++++-- ui/media/js/main.js | 8 ++++-- 4 files changed, 57 insertions(+), 24 deletions(-) diff --git a/ui/easydiffusion/bucket_manager.py b/ui/easydiffusion/bucket_manager.py index e17a1c2a..34b8bd2f 100644 --- a/ui/easydiffusion/bucket_manager.py +++ b/ui/easydiffusion/bucket_manager.py @@ -116,7 +116,7 @@ def init(): try: image: GalleryImage = db.query(GalleryImage).filter(GalleryImage.path == image_path).first() head = "
" - body = "Path: " + str(self.path) + "
" + \ - "Seed: " + str(self.seed) + "" + \ - "Stable Diffusion Model: " + str(self.use_stable_diffusion_model) + "" + \ - "Prompt: " + str(self.prompt) + "" + \ - "Negative Prompt: " + str(self.negative_prompt) + "" + \ - "Clip Skip: " + str(self.clip_skip) + "" + \ - "VAE Model: " + str(self.use_vae_model) + "" + \ - "Sampler: " + str(self.sampler_name) + "" + \ - "Size: " + str(self.height) + "x" + str(self.width) + "" + \ - "Inference Steps: " + str(self.num_inference_steps) + "" + \ - "Guidance Scale: " + str(self.guidance_scale) + "" + \ - "LoRA: " + str(self.lora) + "" + \ - "Hypernetwork: " + str(self.use_hypernetwork_model) + "" + \ - "Tiling: " + str(self.tiling) + "" + \ - "Face Correction: " + str(self.use_face_correction) + "" + \ - "Upscale: " + str(self.use_upscale) + "" + \ - "Time Created: " + str(self.time_created) + "" + \ - "NSFW: " + str(self.nsfw) + "Path: " + str(self.path) + "
" + \ + "Seed: " + str(self.seed) + "
" + \ + "Stable Diffusion Model: " + str(self.use_stable_diffusion_model) + "
" + \ + "Prompt: " + str(self.prompt) + "
" + \ + "Negative Prompt: " + str(self.negative_prompt) + "
" + \ + "Clip Skip: " + str(self.clip_skip) + "
" + \ + "VAE Model: " + str(self.use_vae_model) + "
" + \ + "Sampler: " + str(self.sampler_name) + "
" + \ + "Size: " + str(self.height) + "x" + str(self.width) + "
" + \ + "Inference Steps: " + str(self.num_inference_steps) + "
" + \ + "Guidance Scale: " + str(self.guidance_scale) + "
" + \ + "LoRA: " + str(self.lora) + "
" + \ + "Hypernetwork: " + str(self.use_hypernetwork_model) + "
" + \ + "Tiling: " + str(self.tiling) + "
" + \ + "Face Correction: " + str(self.use_face_correction) + "
" + \ + "Upscale: " + str(self.use_upscale) + "
" + \ + "Time Created: " + str(self.time_created) + "
" + \ + "NSFW: " + str(self.nsfw) + "