sayakpaul HF staff commited on
Commit
dd00b25
1 Parent(s): 484064c

remove elements.

Browse files
Files changed (1) hide show
  1. app.py +8 -24
app.py CHANGED
@@ -55,33 +55,17 @@ with block:
55
  </h1>
56
  </div>
57
  <p style="margin-bottom: 10px; font-size: 94%; line-height: 23px;">
58
- This Space demonstrates a fine-tuned version of the <a style="text-decoration: underline;" href="https://github.com/keras-team/keras-cv/tree/master/keras_cv/models/stable_diffusion">Stable Diffusion (v1) model shipped by KerasCV</a>. You can use the model to generate custom Pokemon-like characters. To get started either enter a text prompt or try one from the ones given below.
 
 
 
 
 
 
 
59
  </p>
60
  </div>
61
  """
62
  )
63
- with gr.Group():
64
- with gr.Box():
65
- with gr.Row(elem_id="prompt-container").style(
66
- mobile_collapse=False, equal_height=True
67
- ):
68
- with gr.Column():
69
- text = gr.Textbox(
70
- label="Enter your prompt",
71
- show_label=False,
72
- max_lines=1,
73
- placeholder="Enter your prompt",
74
- elem_id="prompt-text-input",
75
- ).style(
76
- border=(True, False, True, True),
77
- rounded=(True, False, False, True),
78
- container=False,
79
- )
80
- guidance_scale = gr.Slider(
81
- label="Guidance Scale", minimum=10, maximum=50, value=40, step=1.0
82
- )
83
- btn = gr.Button("Generate image").style(
84
- margin=False, rounded=(False, True, True, False), full_width=False
85
- )
86
 
87
  block.launch()
 
55
  </h1>
56
  </div>
57
  <p style="margin-bottom: 10px; font-size: 94%; line-height: 23px;">
58
+ Stable Diffusion 2.1 is the latest text-to-image model from StabilityAI. <a style="text-decoration: underline;" href="https://huggingface.co/spaces/stabilityai/stable-diffusion-1">Access Stable Diffusion 1 Space here</a><br>For faster generation and API
59
+ access you can try
60
+ <a
61
+ href="http://beta.dreamstudio.ai/"
62
+ style="text-decoration: underline;"
63
+ target="_blank"
64
+ >DreamStudio Beta</a
65
+ >.</a>
66
  </p>
67
  </div>
68
  """
69
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
  block.launch()