awacke1 commited on
Commit
d8f6c9c
1 Parent(s): 8992ad9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -55,11 +55,11 @@ with gr.Blocks(css=css) as demo:
55
  "
56
  >
57
  <h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">
58
- Magic Diffusion 🪄
59
  </h1>
60
  </div>
61
  <p style="margin-bottom: 10px; font-size: 94%">
62
- Prompt Refinery generates 10 variations on your prompt using <a href="https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion" target="_blank">MagicPrompt</a>
63
  </p>
64
  </div>""")
65
 
@@ -68,7 +68,7 @@ with gr.Blocks(css=css) as demo:
68
  input_text = gr.Textbox(label="Input text prompt",
69
  lines=5, elem_id="input-text")
70
  with gr.Row():
71
- see_prompts = gr.Button("Feed in your text!")
72
 
73
  with gr.Column():
74
  text_output = gr.Textbox(
@@ -77,7 +77,7 @@ with gr.Blocks(css=css) as demo:
77
  elem_id="translated"
78
  )
79
  with gr.Row():
80
- diffuse_btn = gr.Button(value="Refine my Prompts")
81
  with gr.Column(elem_id="generated-gallery"):
82
  sd_output = gr.Gallery().style(grid=2, height="auto")
83
  with gr.Group(elem_id="share-btn-container"):
 
55
  "
56
  >
57
  <h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">
58
+ Prompt Refinery
59
  </h1>
60
  </div>
61
  <p style="margin-bottom: 10px; font-size: 94%">
62
+ Prompt Refinery generates variations of your prompt using <a href="https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion" target="_blank">MagicPrompt and Stable Diffusion</a>
63
  </p>
64
  </div>""")
65
 
 
68
  input_text = gr.Textbox(label="Input text prompt",
69
  lines=5, elem_id="input-text")
70
  with gr.Row():
71
+ see_prompts = gr.Button("Expand my prompts")
72
 
73
  with gr.Column():
74
  text_output = gr.Textbox(
 
77
  elem_id="translated"
78
  )
79
  with gr.Row():
80
+ diffuse_btn = gr.Button(value="Render Images for My Prompts")
81
  with gr.Column(elem_id="generated-gallery"):
82
  sd_output = gr.Gallery().style(grid=2, height="auto")
83
  with gr.Group(elem_id="share-btn-container"):