diff --git a/ui/frontend/build_src/public/ding.mp3 b/ui/frontend/assets/ding.mp3 similarity index 100% rename from ui/frontend/build_src/public/ding.mp3 rename to ui/frontend/assets/ding.mp3 diff --git a/ui/frontend/build_src/public/kofi.png b/ui/frontend/assets/kofi.png similarity index 100% rename from ui/frontend/build_src/public/kofi.png rename to ui/frontend/assets/kofi.png diff --git a/ui/frontend/build_src/public/modifiers.json b/ui/frontend/assets/modifiers.json similarity index 100% rename from ui/frontend/build_src/public/modifiers.json rename to ui/frontend/assets/modifiers.json diff --git a/ui/frontend/dist/ding.mp3 b/ui/frontend/dist/ding.mp3 deleted file mode 100644 index f2843b06..00000000 Binary files a/ui/frontend/dist/ding.mp3 and /dev/null differ diff --git a/ui/frontend/dist/kofi.png b/ui/frontend/dist/kofi.png deleted file mode 100644 index 0fdebbaa..00000000 Binary files a/ui/frontend/dist/kofi.png and /dev/null differ diff --git a/ui/frontend/dist/modifiers.json b/ui/frontend/dist/modifiers.json deleted file mode 100644 index 5d01cdba..00000000 --- a/ui/frontend/dist/modifiers.json +++ /dev/null @@ -1,251 +0,0 @@ -[ - [ - "Drawing Style", - [ - "Cel Shading", - "Children's Drawing", - "Crosshatch", - "Detailed and Intricate", - "Doodle", - "Dot Art", - "Line Art", - "Sketch" - ] - ], - [ - "Visual Style", - [ - "2D", - "8-bit", - "16-bit", - "Anaglyph", - "Anime", - "Art Nouveau", - "Bauhaus", - "Baroque", - "CGI", - "Cartoon", - "Comic Book", - "Concept Art", - "Constructivist", - "Cubist", - "Digital Art", - "Dadaist", - "Expressionist", - "Fantasy", - "Fauvist", - "Figurative", - "Graphic Novel", - "Geometric", - "Hard Edge Painting", - "Hydrodipped", - "Impressionistic", - "Lithography", - "Manga", - "Minimalist", - "Modern Art", - "Mosaic", - "Mural", - "Naive", - "Neoclassical", - "Photo", - "Realistic", - "Rococo", - "Romantic", - "Street Art", - "Symbolist", - "Stuckist", - "Surrealist", - "Visual Novel", - "Watercolor" - ] - ], - [ - "Pen", - ["Chalk", "Colored Pencil", "Graphite", "Ink", "Oil Paint", "Pastel Art"] - ], - [ - "Carving and Etching", - [ - "Etching", - "Linocut", - "Paper Model", - "Paper-Mache", - "Papercutting", - "Pyrography", - "Wood-Carving" - ] - ], - [ - "Camera", - [ - "Aerial View", - "Canon50", - "Cinematic", - "Close-up", - "Color Grading", - "Dramatic", - "Film Grain", - "Fisheye Lens", - "Glamor Shot", - "Golden Hour", - "HD", - "Landscape", - "Lens Flare", - "Macro", - "Polaroid", - "Photoshoot", - "Portrait", - "Studio Lighting", - "Vintage", - "War Photography", - "White Balance", - "Wildlife Photography" - ] - ], - [ - "Color", - [ - "Beautiful Lighting", - "Cold Color Palette", - "Colorful", - "Dynamic Lighting", - "Electric Colors", - "Infrared", - "Pastel", - "Neon", - "Synthwave", - "Warm Color Palette" - ] - ], - [ - "Emotions", - [ - "Angry", - "Bitter", - "Disgusted", - "Embarrassed", - "Evil", - "Excited", - "Fear", - "Funny", - "Happy", - "Horrifying", - "Lonely", - "Sad", - "Serene", - "Surprised", - "Melancholic" - ] - ], - [ - "Style of an artist or community", - [ - "Artstation", - "trending on Artstation", - "by Agnes Lawrence Pelton", - "by Akihito Yoshida", - "by Alex Grey", - "by Alexander Jansson", - "by Alphonse Mucha", - "by Andy Warhol", - "by Artgerm", - "by Asaf Hanuka", - "by Aubrey Beardsley", - "by Banksy", - "by Beeple", - "by Ben Enwonwu", - "by Bob Eggleton", - "by Caravaggio Michelangelo Merisi", - "by Caspar David Friedrich", - "by Chris Foss", - "by Claude Monet", - "by Dan Mumford", - "by David Mann", - "by Diego Velázquez", - "by Disney Animation Studios", - "by Édouard Manet", - "by Esao Andrews", - "by Frida Kahlo", - "by Gediminas Pranckevicius", - "by Georgia O'Keeffe", - "by Greg Rutkowski", - "by Gustave Doré", - "by Gustave Klimt", - "by H.R. Giger", - "by Hayao Miyazaki", - "by Henri Matisse", - "by HP Lovecraft", - "by Ivan Shishkin", - "by Jack Kirby", - "by Jackson Pollock", - "by James Jean", - "by Jim Burns", - "by Johannes Vermeer", - "by John William Waterhouse", - "by Katsushika Hokusai", - "by Kim Tschang Yeul", - "by Ko Young Hoon", - "by Leonardo da Vinci", - "by Lisa Frank", - "by M.C. Escher", - "by Mahmoud Saïd", - "by Makoto Shinkai", - "by Marc Simonetti", - "by Mark Brooks", - "by Michelangelo", - "by Pablo Picasso", - "by Paul Klee", - "by Peter Mohrbacher", - "by Pierre-Auguste Renoir", - "by Pixar Animation Studios", - "by Rembrandt", - "by Richard Dadd", - "by Rossdraws", - "by Salvador Dalí", - "by Sam Does Arts", - "by Sandro Botticelli", - "by Ted Nasmith", - "by Ten Hundred", - "by Thomas Kinkade", - "by Tivadar Csontváry Kosztka", - "by Victo Ngai", - "by Vincent Di Fate", - "by Vincent van Gogh", - "by Wes Anderson", - "by wlop", - "by Yoshitaka Amano" - ] - ], - [ - "CGI Software", - [ - "3D Model", - "3D Sculpt", - "3Ds Max Model", - "Blender Model", - "Cinema4d Model", - "Maya Model", - "Unreal Engine", - "Zbrush Sculpt" - ] - ], - [ - "CGI Rendering", - [ - "3D Render", - "Corona Render", - "Creature Design", - "Cycles Render", - "Detailed Render", - "Environment Design", - "Intricate Environment", - "LSD Render", - "Octane Render", - "PBR", - "Glass Caustics", - "Global Illumination", - "Subsurface Scattering" - ] - ] -] diff --git a/ui/server.py b/ui/server.py index 1e903875..0cc6dfee 100644 --- a/ui/server.py +++ b/ui/server.py @@ -209,15 +209,15 @@ def getAppConfig(): # TODO: change the vite config for public files @app.get('/ding.mp3') def read_ding(): - return FileResponse(os.path.join(SD_UI_DIR, 'frontend/dist/ding.mp3')) + return FileResponse(os.path.join(SD_UI_DIR, 'frontend/assets/ding.mp3')) @app.get('/kofi.png') def read_modifiers(): - return FileResponse(os.path.join(SD_UI_DIR, 'frontend/dist/kofi.png')) + return FileResponse(os.path.join(SD_UI_DIR, 'frontend/assets/kofi.png')) @app.get('/modifiers.json') def read_modifiers(): - return FileResponse(os.path.join(SD_UI_DIR, 'frontend/dist/modifiers.json')) + return FileResponse(os.path.join(SD_UI_DIR, 'frontend/assets/modifiers.json')) @app.get('/output_dir') def read_home_dir():