Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def generate_image(prompt, seed, randomize_seed, width, height, steps, guidance_
|
|
| 36 |
def set_prompt(example_text):
|
| 37 |
return example_text
|
| 38 |
|
| 39 |
-
#
|
| 40 |
example_prompts = {
|
| 41 |
"Product Design": [
|
| 42 |
"""A sleek industrial design concept for a coffee machine:
|
|
@@ -70,21 +70,31 @@ KNOWLEDGE
|
|
| 70 |
- Bottom navigation bar (home, transfers, profile)"""
|
| 71 |
],
|
| 72 |
"Infographic": [
|
| 73 |
-
"""A
|
| 74 |
-
- Title: "Global Renewable Energy
|
| 75 |
-
-
|
| 76 |
-
-
|
| 77 |
-
-
|
| 78 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
],
|
| 80 |
"Diagram": [
|
| 81 |
-
"""A
|
| 82 |
-
-
|
| 83 |
-
-
|
| 84 |
-
-
|
| 85 |
-
-
|
| 86 |
-
-
|
| 87 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
],
|
| 89 |
"Flowchart": [
|
| 90 |
"""A hand-drawn style flowchart, vibrant colors, minimalistic icons.
|
|
|
|
| 36 |
def set_prompt(example_text):
|
| 37 |
return example_text
|
| 38 |
|
| 39 |
+
# Updated example prompts per tab with richer details:
|
| 40 |
example_prompts = {
|
| 41 |
"Product Design": [
|
| 42 |
"""A sleek industrial design concept for a coffee machine:
|
|
|
|
| 70 |
- Bottom navigation bar (home, transfers, profile)"""
|
| 71 |
],
|
| 72 |
"Infographic": [
|
| 73 |
+
"""A sophisticated flat-style infographic for a multinational corporation’s annual report:
|
| 74 |
+
- Title: "Global Renewable Energy Trends 2025"
|
| 75 |
+
- Subtitle: "Market Share and Growth Analysis"
|
| 76 |
+
- Visual Elements:
|
| 77 |
+
- Multi-segmented bar charts comparing Solar, Wind, and Hydro energy production across regions
|
| 78 |
+
- Pie chart displaying overall energy distribution: Solar (45%), Wind (30%), Hydro (25%)
|
| 79 |
+
- Trend lines indicating year-over-year growth
|
| 80 |
+
- Icons: Sleek, minimalist representations of a sun, wind turbine, and water droplet
|
| 81 |
+
- Layout: Clean, grid-based design with ample white space and pastel accents for a modern corporate look
|
| 82 |
+
- Annotations: Brief, impactful data callouts highlighting key performance indicators and future forecasts"""
|
| 83 |
],
|
| 84 |
"Diagram": [
|
| 85 |
+
"""A detailed hand-drawn diagram illustrating an end-to-end business workflow:
|
| 86 |
+
- Title: "Integrated Business Process Diagram"
|
| 87 |
+
- Components:
|
| 88 |
+
- Market Analysis: Research phase with data charts and competitor mapping
|
| 89 |
+
- Strategy Development: Ideation stage with brainstorming clouds and key focus areas
|
| 90 |
+
- Product Design: Concept sketches with iterative feedback loops
|
| 91 |
+
- Implementation: Process flow with timeline markers and resource allocation icons
|
| 92 |
+
- Post-Launch Review: Feedback, metrics, and continuous improvement cycles
|
| 93 |
+
- Visual Elements:
|
| 94 |
+
- Clear, directional arrows connecting each phase
|
| 95 |
+
- Iconography for each component (e.g., magnifying glass, lightbulb, gear, checklist)
|
| 96 |
+
- Style: Vibrant, educational yet professional, balancing detailed annotations with visual simplicity
|
| 97 |
+
- Layout: Structured with a clear hierarchy and color-coded sections to differentiate process stages"""
|
| 98 |
],
|
| 99 |
"Flowchart": [
|
| 100 |
"""A hand-drawn style flowchart, vibrant colors, minimalistic icons.
|