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

chore: update default prompt

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -95,7 +95,7 @@ def load_model(
95
  return model, label2id
96
 
97
 
98
- @spaces.GPU(duration=10)
99
  def generate_images(
100
  prompt: str,
101
  negative_prompt: str,
@@ -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 blue_hair short_hair blush open_mouth cat_ears animal_ears red_eyes white_background",
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 blue_hair short_hair blush open_mouth cat_ears animal_ears red_eyes white_background",
218
  "retro_artstyle 1990s_(style) sketch",
 
95
  return model, label2id
96
 
97
 
98
+ @spaces.GPU(duration=6)
99
  def generate_images(
100
  prompt: str,
101
  negative_prompt: str,
 
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
 
214
  gr.Examples(
215
  examples=[
216
+ [
217
+ "general 1girl solo portrait looking_at_viewer",
218
+ "retro_artstyle 1990s_(style) sketch",
219
+ ],
220
  [
221
  "general 1girl solo portrait looking_at_viewer blue_hair short_hair blush open_mouth cat_ears animal_ears red_eyes white_background",
222
  "retro_artstyle 1990s_(style) sketch",