om-app commited on
Commit
3843884
·
1 Parent(s): aba7a1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks(css=css) as demo:
54
  font-size: 1.75rem;
55
  "
56
  >
57
- <h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">
58
  🪄 Ai Art Generator 🪄
59
  </h1>
60
  </div>
@@ -62,6 +62,7 @@ with gr.Blocks(css=css) as demo:
62
  This Space prettifies your prompt "MagicPrompt"
63
  and then runs it through Stable Diffusion to create aesthetically pleasing images. Simply enter a few concepts and let it improve your prompt. You can then diffuse the prompt.
64
  </p>
 
65
  </div>""")
66
 
67
  with gr.Row():
@@ -69,7 +70,7 @@ with gr.Blocks(css=css) as demo:
69
  input_text = gr.Textbox(label="Short text prompt",
70
  lines=4, elem_id="input-text")
71
  with gr.Row():
72
- see_prompts = gr.Button("Enter short text")
73
 
74
  with gr.Column():
75
  text_output = gr.Textbox(
@@ -78,7 +79,7 @@ with gr.Blocks(css=css) as demo:
78
  elem_id="translated"
79
  )
80
  with gr.Row():
81
- diffuse_btn = gr.Button(value="Generate art!")
82
  with gr.Column(elem_id="generated-gallery"):
83
  sd_output = gr.Gallery().style(grid=2, height="auto")
84
  with gr.Group(elem_id="share-btn-container"):
 
54
  font-size: 1.75rem;
55
  "
56
  >
57
+ <h1 clss="NName" style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">
58
  🪄 Ai Art Generator 🪄
59
  </h1>
60
  </div>
 
62
  This Space prettifies your prompt "MagicPrompt"
63
  and then runs it through Stable Diffusion to create aesthetically pleasing images. Simply enter a few concepts and let it improve your prompt. You can then diffuse the prompt.
64
  </p>
65
+
66
  </div>""")
67
 
68
  with gr.Row():
 
70
  input_text = gr.Textbox(label="Short text prompt",
71
  lines=4, elem_id="input-text")
72
  with gr.Row():
73
+ see_prompts = gr.Button("1. Enter short text")
74
 
75
  with gr.Column():
76
  text_output = gr.Textbox(
 
79
  elem_id="translated"
80
  )
81
  with gr.Row():
82
+ diffuse_btn = gr.Button(value="2. Generate art!")
83
  with gr.Column(elem_id="generated-gallery"):
84
  sd_output = gr.Gallery().style(grid=2, height="auto")
85
  with gr.Group(elem_id="share-btn-container"):