tchung1970 Claude Opus 4.5 commited on
Commit
a7b75d1
·
1 Parent(s): 2fdf35b

Update aspect ratios to 1K resolution and change default prompt

Browse files

- Changed aspect ratio options from 2048-based to 1024-based resolutions
- Set 1:1 (1024x1024) as default instead of 2:3
- Updated default prompt to AI research lab diorama description

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -587,7 +587,7 @@ with gr.Blocks(
587
  # Prompt Textbox
588
  prompt = gr.Textbox(
589
  placeholder="Describe the image you want to create...",
590
- value="create a highly detailed isometric 3d rendering of the Empire State Building in an architectural visualization style. extremely wide shot, very zoomed out, miniature scale model look. the building must be small enough to fit entirely within the frame with large margins on all sides. show complete building from street level to antenna tip. shown at a 45-degree angle from above, displaying three visible sides with intricate architectural details. use photorealistic textures for materials like stone, glass, metal, or brick. include the base/ground level with tiny people, cars, and landscaping for scale. use a clean white or light grey background. render it in a professional architectural style with soft ambient shadows beneath the structure. every window, column, ornamental detail, and structural element should be clearly visible. style should resemble video game building assets or architectural presentation models clean, detailed, slightly stylized, but realistic",
591
  lines=20,
592
  max_lines=25,
593
  max_length=2000,
@@ -606,15 +606,15 @@ with gr.Blocks(
606
  # Aspect Ratio Dropdown
607
  aspect_ratio = gr.Dropdown(
608
  choices=[
609
- "1:1 (2048x2048)",
610
- "2:3 (1344x2048)",
611
- "3:2 (2048x1344)",
612
- "3:4 (1536x2048)",
613
- "4:3 (2048x1536)",
614
- "9:16 (1152x2048)",
615
- "16:9 (2048x1152)",
616
  ],
617
- value="2:3 (1344x2048)",
618
  label="Aspect Ratio",
619
  show_label=True,
620
  container=True,
 
587
  # Prompt Textbox
588
  prompt = gr.Textbox(
589
  placeholder="Describe the image you want to create...",
590
+ value="Ultra-detailed isometric 3D diorama of a compact AI research lab inside a cutaway cube room. One person seated at a large desk placed directly against the left wall, equipped with exactly three displays, working at a keyboard, wearing large white over-ear headphones, with the mouse positioned next to the person's right hand. A large whiteboard mounted on the left wall directly in front of the desk, filled with technical diagrams and flowcharts. The room is bright, clean, and uncluttered, with a minimalist gray floor and walls.\n\nAlong the right side of the room, arranged from left to right: two tall server racks standing side by side with no gap between them, fully filled from floor to top with dense AI server units and glowing green LED indicator lights; next to the racks, a small snack bar with neatly arranged packaged snacks on shelves and a counter; and at the far right, a clear glass-front refrigerator filled with energy drinks. These are the only server racks in the room. Clean modern lighting, realistic soft shadows, no floating screens or holograms, high realism, sharp focus, professional isometric 3D style.",
591
  lines=20,
592
  max_lines=25,
593
  max_length=2000,
 
606
  # Aspect Ratio Dropdown
607
  aspect_ratio = gr.Dropdown(
608
  choices=[
609
+ "1:1 (1024x1024)",
610
+ "2:3 (680x1024)",
611
+ "3:2 (1024x680)",
612
+ "3:4 (768x1024)",
613
+ "4:3 (1024x768)",
614
+ "9:16 (576x1024)",
615
+ "16:9 (1024x576)",
616
  ],
617
+ value="1:1 (1024x1024)",
618
  label="Aspect Ratio",
619
  show_label=True,
620
  container=True,