Plat commited on
Commit
f712c8b
Β·
1 Parent(s): c94981f

chore: better default value

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -154,7 +154,7 @@ Pixel-space x-prediction flow-matching 90M parameter model for anime face genera
154
  prompt = gr.TextArea(
155
  label="Prompt",
156
  info=f"Space-separated tags. Not all of danbooru tags are supported. See [the full supported tags]({LABEL2ID_URL}). γ‚ΉγƒšγƒΌγ‚Ήγ§εŒΊεˆ‡γ£γ¦γγ γ•γ„γ€‚γ‚«γƒ³γƒžεŒΊεˆ‡γ‚Šγ―ε―ΎεΏœγ—γ¦γΎγ›γ‚“γ€‚",
157
- value="general 1girl solo portrait looking_at_viewer",
158
  placeholder="e.g.: general 1girl solo portrait looking_at_viewer",
159
  )
160
  negative_prompt = gr.TextArea(
@@ -213,6 +213,10 @@ Pixel-space x-prediction flow-matching 90M parameter model for anime face genera
213
 
214
  gr.Examples(
215
  examples=[
 
 
 
 
216
  [
217
  "general 1girl solo portrait looking_at_viewer",
218
  "retro_artstyle 1990s_(style) sketch",
@@ -252,6 +256,7 @@ Pixel-space x-prediction flow-matching 90M parameter model for anime face genera
252
  ],
253
  inputs=[prompt, negative_prompt],
254
  label="Examples",
 
255
  )
256
 
257
  gr.on(
 
154
  prompt = gr.TextArea(
155
  label="Prompt",
156
  info=f"Space-separated tags. Not all of danbooru tags are supported. See [the full supported tags]({LABEL2ID_URL}). γ‚ΉγƒšγƒΌγ‚Ήγ§εŒΊεˆ‡γ£γ¦γγ γ•γ„γ€‚γ‚«γƒ³γƒžεŒΊεˆ‡γ‚Šγ―ε―ΎεΏœγ—γ¦γΎγ›γ‚“γ€‚",
157
+ value="general 1girl solo portrait looking_at_viewer medium_hair parted_lips blue_ribbon hair_ornament hairclip half_updo halterneck bokeh depth_of_field blurry_background head_tilt",
158
  placeholder="e.g.: general 1girl solo portrait looking_at_viewer",
159
  )
160
  negative_prompt = gr.TextArea(
 
213
 
214
  gr.Examples(
215
  examples=[
216
+ [
217
+ "general 1girl solo portrait looking_at_viewer medium_hair parted_lips blue_ribbon hair_ornament hairclip half_updo halterneck bokeh depth_of_field blurry_background head_tilt",
218
+ "retro_artstyle 1990s_(style) sketch",
219
+ ],
220
  [
221
  "general 1girl solo portrait looking_at_viewer",
222
  "retro_artstyle 1990s_(style) sketch",
 
256
  ],
257
  inputs=[prompt, negative_prompt],
258
  label="Examples",
259
+ examples_per_page=20,
260
  )
261
 
262
  gr.on(