Teoman21's picture
-done mosaic generator
4376584
raw
history blame contribute delete
559 Bytes
"""
Gradio interface for the Mosaic Generator.
Allows users to upload images, adjust parameters, and generate mosaic-style images.
"""
import gradio as gr
import numpy as np
from PIL import Image
import time
import os
from typing import Tuple, Dict, List
from src.gradio_interface import create_interface
# Create the interface (this will be available for Gradio auto-reload)
demo = create_interface()
if __name__ == "__main__":
# Launch the interface
demo.launch(
server_name="0.0.0.0",
server_port=7860,
share=True
)