smartdigitalnetworks commited on
Commit
311b81f
·
verified ·
1 Parent(s): 38e1d8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -20,14 +20,14 @@ def generate_image(prompt, negative_prompt="", steps=13):
20
 
21
  # 4. STREAMLINED UI
22
  with gr.Blocks() as demo:
23
- gr.Markdown("# Lightweight CPU Image Generator using OFA Small model")
24
 
25
  with gr.Row():
26
  with gr.Column():
27
- prompt = gr.Textbox(label="Your Prompt", value="a beautiful flower")
28
  negative = gr.Textbox(label="Avoid (Optional)", value="low-resolution")
29
  steps = gr.Slider(1, 30, value=13, label="Quality Steps")
30
- btn = gr.Button("Generate ")
31
 
32
  output = gr.Image(label="Result", height=400)
33
 
 
20
 
21
  # 4. STREAMLINED UI
22
  with gr.Blocks() as demo:
23
+ gr.Markdown("<h1>📋 Generative Images - Text Guided Image Creation</h1>")
24
 
25
  with gr.Row():
26
  with gr.Column():
27
+ prompt = gr.Textbox(label="Your Guidance", value="a beautiful flower")
28
  negative = gr.Textbox(label="Avoid (Optional)", value="low-resolution")
29
  steps = gr.Slider(1, 30, value=13, label="Quality Steps")
30
+ btn = gr.Button("Generate Image")
31
 
32
  output = gr.Image(label="Result", height=400)
33