Nymbo commited on
Commit
4b5e91d
1 Parent(s): 127dbd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -21
app.py CHANGED
@@ -138,7 +138,7 @@ with gr.Blocks(css=css) as demo:
138
  #TITLE AND SUBTITLE OF PAGE
139
 
140
  gr.Markdown(
141
- """Sissy Diffusion XL Turbo
142
  ## Text-to-Image and Image-to-Image generation; as fast as you can type.
143
  SDXL can generate images instantly, with no active censors. [Alyxsissy](https://www.alyxsissy.com/).
144
  **Model**: https://huggingface.co/stabilityai/sdxl-turbo
@@ -147,7 +147,7 @@ with gr.Blocks(css=css) as demo:
147
  )
148
  with gr.Row():
149
  prompt = gr.Textbox(
150
- placeholder="Insert your prompt here:",
151
  scale=5,
152
  container=False,
153
  )
@@ -161,7 +161,7 @@ with gr.Blocks(css=css) as demo:
161
  )
162
  with gr.Column():
163
  image = gr.Image(type="filepath")
164
- with gr.Accordion("Advanced options", open=False):
165
  strength = gr.Slider(
166
  label="Strength",
167
  value=0.7,
@@ -182,24 +182,11 @@ with gr.Blocks(css=css) as demo:
182
 
183
  with gr.Accordion("Help and Directions"):
184
  gr.Markdown(
185
- """## Running SDXL Turbo on `Alyxsissy`
186
- ```bash
187
- pip install diffusers==0.23.1
188
- ```
189
- ```py
190
- from diffusers import DiffusionPipeline
191
-
192
- pipe = DiffusionPipeline.from_pretrained(
193
- "stabilityai/sdxl-turbo"
194
- ).to("cuda")
195
- results = pipe(
196
- prompt="A cinematic shot of a baby racoon wearing an intricate italian priest robe",
197
- num_inference_steps=1,
198
- guidance_scale=0.0,
199
- )
200
- imga = results.images[0]
201
- imga.save("image.png")
202
- ```
203
  """
204
  )
205
 
 
138
  #TITLE AND SUBTITLE OF PAGE
139
 
140
  gr.Markdown(
141
+ """#Sissy Diffusion XL Turbo
142
  ## Text-to-Image and Image-to-Image generation; as fast as you can type.
143
  SDXL can generate images instantly, with no active censors. [Alyxsissy](https://www.alyxsissy.com/).
144
  **Model**: https://huggingface.co/stabilityai/sdxl-turbo
 
147
  )
148
  with gr.Row():
149
  prompt = gr.Textbox(
150
+ placeholder="Enter a prompt",
151
  scale=5,
152
  container=False,
153
  )
 
161
  )
162
  with gr.Column():
163
  image = gr.Image(type="filepath")
164
+ with gr.Accordion("Advanced Options", open=False):
165
  strength = gr.Slider(
166
  label="Strength",
167
  value=0.7,
 
182
 
183
  with gr.Accordion("Help and Directions"):
184
  gr.Markdown(
185
+ """# Running SDXL Turbo on `Alyxsissy`
186
+ ```## How do I use it?
187
+ ### Start typing your prompt in the text box, and the model will generate images constantly as you type.
188
+ ### you can also upload or paste an image, and generate variations based on your image, and prompt.
189
+ ## Advanced Options
 
 
 
 
 
 
 
 
 
 
 
 
 
190
  """
191
  )
192