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AME = "NewBie-AI/NewBie-image-Exp0.1"
|
| 11 |
+
|
| 12 |
+
def generate_image(prompt, negative_prompt, guidance_scale, num_inference_steps, width, height, seed):
|
| 13 |
+
"""
|
| 14 |
+
Generate image using NewBie AI model
|
| 15 |
+
"""
|
| 16 |
+
try:
|
| 17 |
+
# Simulate API call - in production, replace with actual model inference
|
| 18 |
+
# This would typically call Hugging Face Inference API or local model
|
| 19 |
+
print(f"Generating image with: {prompt}")
|
| 20 |
+
|
| 21 |
+
# Simulate processing time
|
| 22 |
+
time.sleep(2)
|
| 23 |
+
|
| 24 |
+
# In a real implementation, you would:
|
| 25 |
+
# 1. Call the Hugging Face Inference API
|
| 26 |
+
# 2. Handle the response and convert to image
|
| 27 |
+
|
| 28 |
+
# For demo purposes, creating a placeholder image
|
| 29 |
+
# Replace this with actual model inference
|
| 30 |
+
placeholder_text = f"Prompt: {prompt}\nNegative: {negative_prompt}\nScale: {guidance_scale}"
|
| 31 |
+
|
| 32 |
+
# Create a simple gradient image as placeholder
|
| 33 |
+
import numpy as np
|
| 34 |
+
from PIL import Image, ImageDraw
|
| 35 |
+
|
| 36 |
+
# Create image with gradient
|
| 37 |
+
img = Image.new('RGB', (width, height), color='white')
|
| 38 |
+
draw = ImageDraw.Draw(img)
|
| 39 |
+
|
| 40 |
+
# Add some visual elements based on the prompt
|
| 41 |
+
draw.rectangle([0, 0, width, height], fill=(50, 100, 200))
|
| 42 |
+
|
| 43 |
+
# Add some text to the image
|
| 44 |
+
draw.text((10, 10), f"Prompt: {prompt[:30]}...", fill=(0, 0, 0))
|
| 45 |
+
|
| 46 |
+
return img
|
| 47 |
+
|
| 48 |
+
except Exception as e:
|
| 49 |
+
raise gr.Error(f"Error generating image: {str(e)}")
|
| 50 |
+
|
| 51 |
+
def clear_all():
|
| 52 |
+
"""
|
| 53 |
+
Clear all inputs and outputs
|
| 54 |
+
"""
|
| 55 |
+
return {
|
| 56 |
+
prompt_input: "",
|
| 57 |
+
negative_input: "",
|
| 58 |
+
guidance_slider: 7.5,
|
| 59 |
+
steps_slider: 20,
|
| 60 |
+
width_slider: 512,
|
| 61 |
+
height_slider: 512,
|
| 62 |
+
seed_input: -1,
|
| 63 |
+
image_output: None
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
def validate_inputs(prompt, negative_prompt, guidance_scale, steps, width, height, seed):
|
| 67 |
+
"""
|
| 68 |
+
Validate user inputs before generation
|
| 69 |
+
"""
|
| 70 |
+
validation_results = []
|
| 71 |
+
|
| 72 |
+
# Validate prompt
|
| 73 |
+
if not prompt or len(prompt.strip()) == 0:
|
| 74 |
+
validation_results.append(gr.validate(False, "Please enter a prompt")))
|
| 75 |
+
|
| 76 |
+
# Validate guidance scale
|
| 77 |
+
if guidance_scale < 1 or guidance_scale > 20:
|
| 78 |
+
validation_results.append(gr.validate(False, "Guidance scale must be between 1 and 20"))
|
| 79 |
+
|
| 80 |
+
# Validate dimensions
|
| 81 |
+
if width < 64 or height < 64 or width > 1024 or height > 1024:
|
| 82 |
+
validation_results.append(gr.validate(False, "Width and height must be between 64 and 1024"))
|
| 83 |
+
|
| 84 |
+
# Validate steps
|
| 85 |
+
if steps < 1 or steps > 100:
|
| 86 |
+
validation_results.append(gr.validate(False, "Steps must be between 1 and 100"))
|
| 87 |
+
|
| 88 |
+
# Validate seed
|
| 89 |
+
if seed != -1 and (seed < 0 or seed > 2**32 - 1:
|
| 90 |
+
validation_results.append(gr.validate(False, "Seed must be -1 or between 0 and 4294967295"))
|
| 91 |
+
|
| 92 |
+
return validation_results
|
| 93 |
+
|
| 94 |
+
# Create custom theme for modern appearance
|
| 95 |
+
custom_theme = gr.themes.Soft(
|
| 96 |
+
primary_hue="blue",
|
| 97 |
+
secondary_hue="indigo",
|
| 98 |
+
neutral_hue="slate",
|
| 99 |
+
font=gr.themes.GoogleFont("Inter"),
|
| 100 |
+
text_size="md",
|
| 101 |
+
spacing_size="md",
|
| 102 |
+
radius_size="md"
|
| 103 |
+
).set(
|
| 104 |
+
button_primary_background_fill="*primary_600",
|
| 105 |
+
button_primary_background_fill_hover="*primary_700",
|
| 106 |
+
block_title_text_weight="600",
|
| 107 |
+
block_label_text_weight="500"
|
| 108 |
+
)
|
| 109 |
+
|
| 110 |
+
with gr.Blocks() as demo:
|
| 111 |
+
gr.Markdown(
|
| 112 |
+
"""
|
| 113 |
+
# 🎨 NewBie AI Image Generator
|
| 114 |
+
|
| 115 |
+
Create stunning images using the NewBie-AI/NewBie-image-Exp0.1 model
|
| 116 |
+
"""
|
| 117 |
+
)
|
| 118 |
+
|
| 119 |
+
gr.HTML(
|
| 120 |
+
'<div style="text-align: center; margin-bottom: 20px;">'
|
| 121 |
+
'<a href="https://huggingface.co/spaces/akhaliq/anycoder" style="color: #666; font-size: 0.9em;" target="_blank">Built with anycoder</a>'
|
| 122 |
+
'</div>'
|
| 123 |
+
)
|
| 124 |
+
|
| 125 |
+
with gr.Row():
|
| 126 |
+
with gr.Column(scale=1):
|
| 127 |
+
gr.Markdown("### 🖊️ Image Parameters")
|
| 128 |
+
|
| 129 |
+
with gr.Group():
|
| 130 |
+
prompt_input = gr.Textbox(
|
| 131 |
+
label="Prompt",
|
| 132 |
+
placeholder="Describe the image you want to create...",
|
| 133 |
+
lines=3,
|
| 134 |
+
max_lines=6,
|
| 135 |
+
info="Be descriptive and creative with your prompts"
|
| 136 |
+
)
|
| 137 |
+
|
| 138 |
+
negative_input = gr.Textbox(
|
| 139 |
+
label="Negative Prompt",
|
| 140 |
+
placeholder="What you don't want in the image...",
|
| 141 |
+
lines=2
|
| 142 |
+
)
|
| 143 |
+
|
| 144 |
+
with gr.Row():
|
| 145 |
+
guidance_slider = gr.Slider(
|
| 146 |
+
minimum=1.0,
|
| 147 |
+
maximum=20.0,
|
| 148 |
+
value=7.5,
|
| 149 |
+
step=0.1,
|
| 150 |
+
label="Guidance Scale",
|
| 151 |
+
info="Higher values make the model follow your prompt more closely"
|
| 152 |
+
)
|
| 153 |
+
|
| 154 |
+
steps_slider = gr.Slider(
|
| 155 |
+
minimum=1,
|
| 156 |
+
maximum=100,
|
| 157 |
+
value=20,
|
| 158 |
+
step=1,
|
| 159 |
+
info="More steps usually mean better quality but take longer"
|
| 160 |
+
)
|
| 161 |
+
|
| 162 |
+
with gr.Row():
|
| 163 |
+
width_slider = gr.Slider(
|
| 164 |
+
minimum=64,
|
| 165 |
+
maximum=1024,
|
| 166 |
+
value=512,
|
| 167 |
+
step=64,
|
| 168 |
+
label="Width"
|
| 169 |
+
)
|
| 170 |
+
|
| 171 |
+
height_slider = gr.Slider(
|
| 172 |
+
minimum=64,
|
| 173 |
+
maximum=1024,
|
| 174 |
+
value=512,
|
| 175 |
+
step=64,
|
| 176 |
+
label="Height"
|
| 177 |
+
)
|
| 178 |
+
|
| 179 |
+
seed_input = gr.Number(
|
| 180 |
+
label="Seed",
|
| 181 |
+
value=-1,
|
| 182 |
+
precision=0,
|
| 183 |
+
info="-1 for random, or specific number for reproducible results"
|
| 184 |
+
)
|
| 185 |
+
|
| 186 |
+
with gr.Column(scale=1):
|
| 187 |
+
gr.Markdown("### ⚙️ Advanced Settings")
|
| 188 |
+
|
| 189 |
+
gr.Markdown("Configure the generation process:")
|
| 190 |
+
|
| 191 |
+
with gr.Group():
|
| 192 |
+
gr.Textbox(
|
| 193 |
+
value="Model: NewBie-AI/NewBie-image-Exp0.1"
|
| 194 |
+
)
|
| 195 |
+
|
| 196 |
+
with gr.Row():
|
| 197 |
+
generate_btn = gr.Button(
|
| 198 |
+
"✨ Generate Image",
|
| 199 |
+
variant="primary",
|
| 200 |
+
size="lg"
|
| 201 |
+
)
|
| 202 |
+
|
| 203 |
+
clear_btn = gr.Button(
|
| 204 |
+
"🗑️ Clear All",
|
| 205 |
+
variant="secondary"
|
| 206 |
+
)
|
| 207 |
+
|
| 208 |
+
with gr.Row():
|
| 209 |
+
image_output = gr.Image(
|
| 210 |
+
label="Generated Image",
|
| 211 |
+
height=400,
|
| 212 |
+
show_download_button=True
|
| 213 |
+
)
|
| 214 |
+
|
| 215 |
+
# Event listeners
|
| 216 |
+
generate_btn.click(
|
| 217 |
+
fn=generate_image,
|
| 218 |
+
inputs=[
|
| 219 |
+
prompt_input,
|
| 220 |
+
negative_input,
|
| 221 |
+
guidance_slider,
|
| 222 |
+
steps_slider,
|
| 223 |
+
width_slider,
|
| 224 |
+
height_slider,
|
| 225 |
+
seed_input
|
| 226 |
+
],
|
| 227 |
+
outputs=[image_output],
|
| 228 |
+
api_visibility="public",
|
| 229 |
+
show_progress="full",
|
| 230 |
+
validator=validate_inputs
|
| 231 |
+
)
|
| 232 |
+
|
| 233 |
+
clear_btn.click(
|
| 234 |
+
fn=clear_all,
|
| 235 |
+
inputs=None,
|
| 236 |
+
outputs=[
|
| 237 |
+
prompt_input,
|
| 238 |
+
negative_input,
|
| 239 |
+
guidance_slider,
|
| 240 |
+
steps_slider,
|
| 241 |
+
width_slider,
|
| 242 |
+
height_slider,
|
| 243 |
+
seed_input,
|
| 244 |
+
image_output
|
| 245 |
+
]
|
| 246 |
+
)
|
| 247 |
+
|
| 248 |
+
# Examples section
|
| 249 |
+
gr.Examples(
|
| 250 |
+
examples=[
|
| 251 |
+
[
|
| 252 |
+
"A majestic dragon flying over a medieval castle at sunset, fantasy art style",
|
| 253 |
+
"blurry, low quality, distorted",
|
| 254 |
+
7.5,
|
| 255 |
+
20,
|
| 256 |
+
512,
|
| 257 |
+
512,
|
| 258 |
+
-1
|
| 259 |
+
],
|
| 260 |
+
[
|
| 261 |
+
"A cyberpunk cityscape with neon lights and flying cars, digital art",
|
| 262 |
+
"watermark, signature, text",
|
| 263 |
+
8.0,
|
| 264 |
+
25,
|
| 265 |
+
768,
|
| 266 |
+
768,
|
| 267 |
+
-1
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
"An astronaut riding a horse on Mars, photorealistic",
|
| 271 |
+
"cartoon, drawing, sketch",
|
| 272 |
+
6.0,
|
| 273 |
+
15,
|
| 274 |
+
1024,
|
| 275 |
+
1024,
|
| 276 |
+
-1
|
| 277 |
+
]
|
| 278 |
+
],
|
| 279 |
+
inputs=[
|
| 280 |
+
prompt_input,
|
| 281 |
+
negative_input,
|
| 282 |
+
guidance_slider,
|
| 283 |
+
steps_slider,
|
| 284 |
+
width_slider,
|
| 285 |
+
height_slider,
|
| 286 |
+
seed_input
|
| 287 |
+
]
|
| 288 |
+
],
|
| 289 |
+
label="Example Prompts"
|
| 290 |
+
)
|
| 291 |
+
|
| 292 |
+
if __name__ == "__main__":
|
| 293 |
+
demo.launch(
|
| 294 |
+
theme=custom_theme,
|
| 295 |
+
footer_links=[
|
| 296 |
+
{"label": "API Documentation", "url": "/api"},
|
| 297 |
+
{"label": "GitHub", "url": "https://github.com/gradio-app/gradio"},
|
| 298 |
+
{"label": "Hugging Face", "url": "https://huggingface.co"}
|
| 299 |
+
]
|
| 300 |
+
)
|
requirements.txt
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
requests
|
| 2 |
+
Pillow
|
| 3 |
+
numpy
|
| 4 |
+
gradio>=6.0
|
| 5 |
+
scipy
|
| 6 |
+
opencv-python
|
| 7 |
+
matplotlib
|
| 8 |
+
scikit-image
|
| 9 |
+
imageio
|
| 10 |
+
fastapi
|
| 11 |
+
uvicorn
|
| 12 |
+
pydantic
|
| 13 |
+
python-multipart
|
| 14 |
+
aiofiles
|
| 15 |
+
jinja2
|
| 16 |
+
python-dotenv
|
| 17 |
+
tqdm
|
| 18 |
+
pillow-heif
|
| 19 |
+
websockets
|
utils.py
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Utility functions for the NewBie AI Image Generator
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
def format_prompt_for_model(prompt):
|
| 6 |
+
"""
|
| 7 |
+
Format the prompt for optimal results with the NewBie model
|
| 8 |
+
"""
|
| 9 |
+
if not prompt:
|
| 10 |
+
return ""
|
| 11 |
+
|
| 12 |
+
# Add some basic formatting if needed
|
| 13 |
+
return prompt.strip()
|
| 14 |
+
|
| 15 |
+
def sanitize_seed(seed):
|
| 16 |
+
"""
|
| 17 |
+
Sanitize seed value
|
| 18 |
+
"""
|
| 19 |
+
if seed == -1:
|
| 20 |
+
return -1
|
| 21 |
+
try:
|
| 22 |
+
return int(seed)
|
| 23 |
+
except:
|
| 24 |
+
return -1
|
| 25 |
+
|
| 26 |
+
def save_image_locally(image, filename_prefix="generated"):
|
| 27 |
+
"""
|
| 28 |
+
Save generated image locally
|
| 29 |
+
"""
|
| 30 |
+
import os
|
| 31 |
+
from datetime import datetime
|
| 32 |
+
|
| 33 |
+
# Create output directory if it doesn't exist
|
| 34 |
+
os.makedirs("generated_images", exist_ok=True)
|
| 35 |
+
|
| 36 |
+
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 37 |
+
filename = f"{filename_prefix}_{timestamp}.png"
|
| 38 |
+
|
| 39 |
+
image.save(f"generated_images/{filename}")
|
| 40 |
+
return filename
|
| 41 |
+
|
| 42 |
+
def get_image_dimensions(width, height):
|
| 43 |
+
"""
|
| 44 |
+
Validate and return image dimensions
|
| 45 |
+
"""
|
| 46 |
+
# Ensure dimensions are within reasonable bounds
|
| 47 |
+
width = max(64, min(1024, width))
|
| 48 |
+
height = max(64, min(1024, height))
|
| 49 |
+
|
| 50 |
+
return width, height
|
| 51 |
+
|
| 52 |
+
**Key Features Implemented:**
|
| 53 |
+
|
| 54 |
+
1. **Complete Prompt System:**
|
| 55 |
+
- Main prompt input with multi-line support
|
| 56 |
+
- Negative prompt for excluding unwanted elements
|
| 57 |
+
|
| 58 |
+
2. **Advanced Generation Parameters:**
|
| 59 |
+
- Guidance scale (1.0-20.0)
|
| 60 |
+
- Number of inference steps (1-100)
|
| 61 |
+
- Custom width and height (64-1024)
|
| 62 |
+
- Seed control for reproducible results
|
| 63 |
+
|
| 64 |
+
3. **Modern Gradio 6 Features:**
|
| 65 |
+
- Custom theme with Soft appearance
|
| 66 |
+
- Proper validation system
|
| 67 |
+
- Examples section for quick testing
|
| 68 |
+
- Loading states and progress tracking
|
| 69 |
+
- Error handling with user-friendly messages
|
| 70 |
+
|
| 71 |
+
4. **User Experience:**
|
| 72 |
+
- Clean, intuitive interface
|
| 73 |
+
- Clear labels and tooltips
|
| 74 |
+
- One-click clear functionality
|
| 75 |
+
- Image download capability
|
| 76 |
+
|
| 77 |
+
5. **Production Ready:**
|
| 78 |
+
- Proper error boundaries
|
| 79 |
+
- Input validation
|
| 80 |
+
- Responsive layout
|
| 81 |
+
|
| 82 |
+
**To extend this application:**
|
| 83 |
+
|
| 84 |
+
1. Replace the `generate_image` function with actual model inference
|
| 85 |
+
2. Add batch generation support
|
| 86 |
+
3. Implement image upscaling
|
| 87 |
+
4. Add style presets
|
| 88 |
+
5. Include history of generated images
|
| 89 |
+
|
| 90 |
+
The app follows all Gradio 6 best practices with modern theming and responsive design.
|