Skip to content

Showroom

Woolverine94 edited this page Jan 23, 2025 · 34 revisions

⚠️ Work in progress ⚠️

Showroom

[ Text modules | Images modules | Audio modules | Video modules ]


Text modules

Chatbot

Generation settings
Model=microsoft/phi-4-gguf | Max tokens=1024 | Stream results=False | n_ctx=8192 | Repeat penalty=1.1 | Temperature=0.8 | Top_k=40 | Top_p=0.95 | Prompt template=<|im_start|>system<|im_sep|>\n{system_prompt}<|im_end|>\n<|im_start|>user<|im_sep|>\n{prompt}<|im_end|>\n<|im_start|>assistant<|im_sep|> | System template=You are a very helpful assistant. You are accurate, concise, reliable and you never refuse to answer. | Prompt=Write me a tic tac toe game in python with a graphical UI. Make it functional out of the box.| Seed=1337
Prompt
Write me a tic tac toe game in python with a graphical UI. Make it functional out of the box.
Output(s)

Creating a functional Tic-Tac-Toe game with a graphical user interface (GUI) in Python can be accomplished using the tkinter library, which is included with most standard Python installations. Below is a complete implementation of such a game:

import tkinter as tk

class TicTacToe:
    def __init__(self, root):
        self.root = root
        self.root.title("Tic Tac Toe")
        
        self.current_player = "X"
        self.board = [["" for _ in range(3)] for _ in range(3)]
        self.buttons = [[None for _ in range(3)] for _ in range(3)]
        
        for i in range(3):
            for j in range(3):
                button = tk.Button(self.root, text="", font=('normal', 40), width=5, height=2,
 command=lambda row=i, col=j: self.on_click(row, col))
                button.grid(row=i, column=j)
                self.buttons[i][j] = button
        
        self.status_label = tk.Label(self.root, text="Player X's turn", font=('normal', 20))
        self.status_label.grid(row=3, columnspan=3)

    def on_click(self, row, col):
        if not self.board[row][col]:
            self.make_move(row, col)
            if self.check_winner():
                self.status_label.config(text=f"Player {self.current_player} wins!")
                for button in self.buttons:
                    for btn in button:
                        btn.config(state=tk.DISABLED)
            elif self.is_draw():
                self.status_label.config(text="It's a draw!")
            else:
                self.switch_player()
    
    def make_move(self, row, col):
        self.board[row][col] = self.current_player
        self.buttons[row][col].config(text=self.current_player)

    def switch_player(self):
        self.current_player = "O" if self.current_player == "X" else "X"
        self.status_label.config(text=f"Player {self.current_player}'s turn")

    def check_winner(self):
        # Check rows, columns and diagonals for a win
        lines = [row[:] for row in self.board] + \
                [[self.board[i][j] for i in range(3)] for j in range(3)] + \
                [[self.board[i][i] for i in range(3)], 
                 [self.board[i][2-i] for i in range(3)]]
        
        return any(line == [self.current_player]*3 for line in lines)

    def is_draw(self):
        for row in self.board:
            if "" in row:
                return False
        return True

if __name__ == "__main__":
    root = tk.Tk()
    app = TicTacToe(root)
    root.mainloop()

How to Use:

  1. Installation: This code uses tkinter, which should be available with Python installations by default.
  2. Running the Game: - Save the code in a file, e.g., tic_tac_toe.py. - Run it using a Python interpreter: python tic_tac_toe.py.
  3. Gameplay: - Players take turns clicking on the grid to place their mark ("X" or "O"). - The game checks for a win or draw after each move. - Once there's a winner or the board is full, further moves are disabled.

This implementation provides a simple yet complete Tic-Tac-Toe experience with a basic GUI.


Llava module

Generation settings
Model=xtuner/llava-llama-3-8b-v1_1-gguf | Max tokens=512 | Stream results=False | n_ctx=8192 | Repeat penalty=1.1 | Temperature=0.8 | Top_k=40 | Top_p=0.95 | Prompt template=<|begin_of_text|><|start_header_id|>system<|end_header_id|>\n{system}<|eot_id|><|start_header_id|>user<|end_header_id|>\n{prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|> | Prompt=Describe precisely this picture | Seed=1337
Input image Output text
1715789168_7222316_4453734597 The image captures a beautiful moment on a beach at sunset. A couple is standing close together, their bodies angled towards each other in a warm embrace. The woman, clad in a vibrant orange dress, and the man, wearing a crisp white shirt paired with dark pants, both radiate joy as they smile at the camera.The backdrop of this intimate moment is nothing short of breathtaking. Palm trees sway gently on the beach, their silhouettes adding to the tropical ambiance. The sun, just beginning its descent, casts long shadows and bathes everything in a warm glow. Its reflection dances on the surface of the ocean that lies before them.Despite the multitude of elements in this image, there's an undeniable focus on the couple. They are positioned centrally, drawing the viewer's attention immediately to their happiness and closeness. The rest of the scene, while equally captivating, serves as a beautiful frame around this central moment. It's a snapshot of love, shared joy, and the serenity that comes with being one with nature.

Image modules

Stable Diffusion module

Generation settings
Model=dataautogpt3/ProteusV0.4 | XL model=True | Sampler=DPM++ 2M SDE Karras | Steps=25 | CFG scale=7 | Size=1024x1024 | GFPGAN=True | Token merging=0.6 | LoRA model= | LoRA weight=1 | Textual inversion= | nsfw_filter=True | Prompt=Ghost in the Shell Stand Alone Complex, action pose, RAW photo, ultra realistic, masterpiece, best quality, intricate, highly detailed, sharp, clean, perfect lightning | Negative prompt=out of frame, bad quality, worst quality, ugly, blurry, (bad and ugly hands:1.3), (bad and ugly faces:1.3), (bad and ugly eyes:1.3), text, characters, logo | Seed List=8693806620
Output(s)
8693806620_1709080867_2153425
Generation settings
Model=segmind/SSD-1B | XL model=True | Sampler=UniPC | Steps=10 | CFG scale=7 | Size=1024x1024 | GFPGAN=False | Token merging=0.6 | LoRA model= | LoRA weight=1 | Textual inversion= | nsfw_filter=True | Prompt=an octopus with the head of a cute fluffy kitten, tropical underwater, RAW photo, photo realistic, ultra realistic, masterpiece, highest quality, intricate, highly detailed, sharp clean, perfect lighting, most beautiful image ever seen | Negative prompt=out of frame, bad quality, worst quality, ugly, blurry, text, characters, logo | Seed List=3453188039
Output(s)
3453188039_1709861757_3883991
Generation settings
Model=sd-community/sdxl-flash | XL model=True | Sampler=DPM++ SDE | Steps=6 | CFG scale=3 | Size=1024x1024 | GFPGAN=False | Token merging=0.6 | CLIP skip=None | LoRA model= | LoRA weight=1 | Textual inversion= | nsfw_filter=True | Prompt=(monochrome manga drawing with thick black lines, art by Leiji Matsumoto:1.3), 8k uhd, (masterpiece:1.3), a cowboy on the surface of an alien planet, solo, space ships in the background, action pose, intricate, highly detailed sharp, clean | Negative prompt=3d, cgi, digital painting, photorealistic, realistic, out of frame, bad quality, medium quality, blurry, ugly, duplicate | Seed List=8684570949
Output(s)
1716487201_4365876_8684570949
Generation settings
Model=v2ray/stable-diffusion-3-medium-diffusers | XL model=False | Sampler=Flow Match Euler | Steps=20 | CFG scale=7 | Size=1024x1024 | GFPGAN=False | Token merging=0.6 | CLIP skip=None | AYS=False | LoRA model= | LoRA weight=1 | Textual inversion= | nsfw_filter=True | Prompt=an old angry fat black cat holding a panel with text that reads "FEED ME NOW !", background is a cozy living room, RAW photo, photo realistic, ultra realistic, insane details, intricate, sharp, clean | Negative prompt= | Seed List=5574921008
Output(s)
1718410048_285324_5574921008

LCM module

Generation settings
Model=latent-consistency/lcm-lora-sdxl | Steps=4 | CFG scale=0 | Size=1024x1024 | GFPGAN=True | LoRA model= | LoRA weight=1 | Textual inversion= | nsfw_filter=True | Prompt=Cyberpunk synthwave style, [Wolverine|Predator] wearing high-tech heavily damaged armor, action pose, RAW photo portrait, ultra realistic, masterpiece, best quality, intricate, highly detailed, sharp, clean, perfect lightning | Seed List=1023577637
Output(s)
1023577637_1709165841_4242449

PixArt-alpha module

Generation settings
Model=PixArt-alpha/PixArt-LCM-XL-2-1024-MS | Sampler=LCM | Steps=8 | CFG scale=0 | Size=1024x1024 | GFPGAN=False | Token merging=0.6 | nsfw_filter=True | Prompt=an anthropomorphic black cat wearing a fancy suit, looks like a dandy, eye contact, background is a Montmartre's cabaret in 1890, RAW photo, photo realistic, ultra realistic, masterpiece, high quality, highly detailed, insane details, intricate, sharp, clean, dramatic lighting, ray-tracing, intricate reflections, most beautiful image ever seen | Negative prompt=out of frame, bad quality, worst quality, ugly, blurry, text, characters, logo | Seed List=6459874205
Output(s)
6459874205_1710285103_0913286

img2img module

Generation settings : Model=dataautogpt3/ProteusV0.4 | XL model=True | Sampler=DPM++ 2M SDE Karras | Steps=35 | CFG scale=7.5 | Size=687x1024 | GFPGAN=True | Token merging=0.6 | LoRA model=KappaNeuro/1987-action-figure-playset-packaging | LoRA weight=1 | Textual inversion= | nsfw_filter=True | Denoising strength=0.75 | Prompt=1987 Action Figure Playset Packaging - , Mona Lisa as an action figure toy in his package, RAW photo, ultra realistic, photo realistic, masterpiece, high quality, intricate, highly detailed, dramatic, epic, sharp, clean, 8k uhd, perfect lighting, most beautiful image ever seen | Negative prompt=out of frame, bad quality, worst quality, ugly, blurry, (bad and ugly hands:1.3), (bad and ugly faces:1.3), (bad and ugly eyes:1.3), text, characters, logo

Original image Output image
Mona_Lisa 1709410730_6573734

IP-Adapter module

Generation settings : Model=stabilityai/sdxl-turbo | XL model=True | Sampler=Euler a | Steps=4 | CFG scale=0 | Size=687x1024 | GFPGAN=False | Token merging=0.6 | LoRA model= | LoRA weight=1 | Textual inversion= | nsfw_filter=True | Denoising strength=0.28 | Prompt=a moutain landscape, RAW photo, ultra realistic, photo realistic, masterpiece, high quality, intricate, highly detailed, dramatic, epic, sharp, clean, 8k uhd, perfect lighting, most beautiful image ever seen | Negative prompt=Negative prompt=out of frame, bad quality, worst quality, ugly, blurry, text, characters, logo

RealESRGAN settings : Model=RealESRGAN_x2.pth | Scale=x2 | GFPGAN=True |

Original image IP Adapter image Output image
Mona_Lisa mountain 1709607068_7565813

Inpaint module

Generation settings : Model=diffusers/stable-diffusion-xl-1.0-inpainting-0.1 | Sampler=UniPC | Steps=10 | CFG scale=7.5 | Size=1024x1024 | GFPGAN=False | Token merging=0.6 | CLIP skip=None | nsfw_filter=True | Denoising strength=1 | Prompt=a mountain lake at sunset, vivid colors, RAW photo, photo realistic, ultra realistic, intricate, highly detailed, sharp, clean, perfect lighting, golden hour | Negative prompt=out of frame, bad quality, medium quality, blurry, ugly, duplicate, text, characters, logo | Seed List=2973008017

Original image Inpaint mask Output image
tropical beach inpaint_mask Ice_sea

ControlNet module

Generation settings : Model=dataautogpt3/ProteusV0.4 | XL model=True | Sampler=DPM++ 2M SDE Karras | Steps=25 | CFG scale=7.5 | Size=1024x1024 | ControlNet strength=0.8 | Start ControlNet=0.0 | Stop ControlNet=1.0 | GFPGAN=True | Token merging=0.6 | LoRA model= | LoRA weight=1 | Textual inversion= | nsfw_filter=True | ControlNet model=patrickvonplaten/controlnet-canny-sdxl-1.0 | Prompt=an elegant woman of the 18th century in a street of Paris in 1780, RAW photo portrait, ultra realistic, photo realistic, masterpiece, high quality, intricate, highly detailed, dramatic, epic, sharp, clean, 8k uhd, perfect lighting, most beautiful image ever seen | Negative prompt=out of frame, bad quality, worst quality, ugly, blurry, (bad and ugly hands:1.3), (bad and ugly faces:1.3), (bad and ugly eyes:1.3), text, characters, logo | Seed List=6640698516

Original image Control image Output image
8693806620_1709080867_2153425 1_controlnet 0_6640698516_1709399955_383269

Generation settings : Model=digiplay/AbsoluteReality_v1.8.1 | XL model=False | Sampler=DPM++ 2M SDE Karras | Steps=25 | CFG scale=7.5 | Size=384x512 | ControlNet strength=1.0 | Start ControlNet=0.0 | Stop ControlNet=1.0 | GFPGAN=False | Token merging=0.6 | LoRA model= | LoRA weight=1 | Textual inversion= | nsfw_filter=True | ControlNet model=Nacholmo/controlnet-qr-pattern-v2 | Prompt=a huge high wave on a beach shore, britain beach, beautiful and intricate sea, foam, beautiful summer day with high blue sky, RAW dynamic photo, photo realistic, ultra realistic, high quality, masterpiece, highly detailed, intricate, sharp, clean, hard lighting, most beautiful image ever seen | Negative prompt=out of frame, bad quality, medium quality, blurry, ugly, duplicate, text, characters, logo | Seed List=1373263174

Original image Control image Output image
poseidon controlnet 1373263174_1709761665_94103

Photobooth module

Generation settings : Model=SG161222/RealVisXL_V3.0 | XL model=True | Sampler=UniPC | Steps=15 | CFG scale=7.5 | Size=1024x1024 | GFPGAN=True | Token merging=0.6 | LoRA model= | LoRA weight=1 | Textual inversion= | nsfw_filter=True | Denoising strength=1 | Prompt=RAW photo medium shot of an img man posing in toga, eye contact, background is antique Athens, beautiful sunny day, photo realistic, ultra realistic, masterpiece, best quality, dramatic, epic, intricate, highly detailed, sharp, clean, sharp focus, perfect lighting, most beautiful image ever seen | Negative prompt=out of frame, bad quality, worst quality, ugly, blurry, (bad and ugly hands:1.3), (bad and ugly faces:1.3), (bad and ugly eyes:1.3), text, characters, logo | Seed List=3654233768

Original image Output image
Socrate_du_Louvre 3654233768_1710810025_6133533

Audio modules

MusicGen module

Generation settings
Model=facebook/musicgen-stereo-large | Duration=20 | CFG scale=3 | Use sampling=True | Temperature=1 | Top_k=250 | Top_p=0 | Prompt=techno music with a strong, upbeat tempo and high melodic riffs, high quality, clear
Output audio
techno.webm

MusicGen Melody module

Generation settings : Model=facebook/musicgen-stereo-melody-large | Duration=10 | CFG scale=3 | Use sampling=True | Temperature=1 | Top_k=250 | Top_p=0 | Source audio type=audio | Prompt=reggae song, guitars and drums, high quality, clean, sharp

Original audio

bolero_ravel.webm

Output audio

bolero_reggae.webm

Video modules

AnimateDiff module

Generation settings
Model=emilianJR/epiCRealism | Adapter=ByteDance/AnimateDiff-Lightning | Sampler=Euler | Steps=4 | CFG scale=1 | Video length=16 frames | Size=512x512 | GFPGAN=True | Token merging=0 | nsfw_filter=True | Prompt=a cute kitten playing with a red ball, background is a beautiful garden, beautiful summer day with great blue sky, RAW photo, photo realistic, ultra realistic, (masterpiece:1.3), highly detailed, intricate, intricate shadows, sharp, clean, perfect lighting | Negative prompt=cartoon, animation, out of frame, poorly drawn, low quality, extra limb, missing limb, floating limbs, disconnected limbs, amputation, twins, duplicate, error, blurry, ugly, text, character, logo | Seed List=2808597512
Output(s)
1714147087_7855458_2808597512.mp4