pva22 commited on
Commit
737b0b6
·
1 Parent(s): 9d430a4

zero gpu usage activate

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +8 -6
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -119,15 +119,16 @@ def infer(
119
  'height': height,
120
  'generator': generator,
121
  }
122
-
123
  return pipe(**params).images[0], seed
124
 
125
 
126
  examples = [
127
- "A Elon Mask lady in a Russian embroidered kaftan is sitting on a beautiful carved veranda, holding a cup to her mouth and drinking tea from the cup. With her other hand, the girl holds a saucer. The cup and saucer are painted with gzhel. Next to the girl on the table stands a samovar, and steam can be seen above it.",
128
- "Elon Mask in a jungle, cold color palette, muted colors, detailed, 8k",
129
- "An Elon Mask astronaut riding a green horse",
130
- "A delicious Elon Mask ceviche cheesecake slice",
 
131
  ]
132
 
133
  css = """
@@ -139,7 +140,7 @@ css = """
139
 
140
  with gr.Blocks(css=css) as demo:
141
  with gr.Column(elem_id="col-container"):
142
- gr.Markdown(" # Text-to-Image")
143
 
144
  with gr.Row():
145
  prompt = gr.Text(
@@ -170,6 +171,7 @@ with gr.Blocks(css=css) as demo:
170
  max_lines=1,
171
  placeholder="Enter a negative prompt",
172
  visible=True,
 
173
  )
174
 
175
  seed = gr.Slider(
 
119
  'height': height,
120
  'generator': generator,
121
  }
122
+
123
  return pipe(**params).images[0], seed
124
 
125
 
126
  examples = [
127
+ "A cartoon-style sticker of Elon Musk shaking hands with Donald Trump. Both figures have exaggerated facial expressions, with Musk grinning confidently and Trump giving a signature thumbs-up. The background features a patriotic red, white, and blue color scheme with fireworks exploding behind them.",
128
+ "A cyberpunk-themed cartoon sticker of Elon Musk standing atop a futuristic Tesla spaceship. He wears a sleek, neon-lit jacket with glowing circuits, while the city skyline behind him is filled with holographic billboards displaying SpaceX and Neuralink logos. His sunglasses reflect the distant stars, adding to the sci-fi aesthetic.",
129
+ "A medieval fantasy sticker of Elon Musk depicted as a wizard. He holds a glowing blue orb in one hand and a spellbook in the other, wearing a long, starry robe with intricate golden details. His expression is both wise and mischievous, as if he's about to reveal the secrets of the universe. The background features a mystical castle and a dragon flying in the sky.",
130
+ "A sticker of Elon Musk dressed as a cowboy in the Wild West. He wears a wide-brimmed hat, leather boots, and a long trench coat, standing in front of a saloon with a SpaceX rocket docked nearby instead of a horse. A wanted poster on the wall reads 'Wanted: Mars Pioneer', adding to the playful western theme.",
131
+ "A parody cartoon sticker of Elon Musk arm-wrestling a robotic version of himself. The robot Musk has glowing red eyes and mechanical arms, while the real Musk smirks confidently. Sparks fly from the table as the intense match unfolds, and the background features a neon sign that reads 'Tesla vs. AI: Ultimate Showdown'."
132
  ]
133
 
134
  css = """
 
140
 
141
  with gr.Blocks(css=css) as demo:
142
  with gr.Column(elem_id="col-container"):
143
+ gr.Markdown("# Generate LoRa stickers")
144
 
145
  with gr.Row():
146
  prompt = gr.Text(
 
171
  max_lines=1,
172
  placeholder="Enter a negative prompt",
173
  visible=True,
174
+ value="blurry, low quality, distorted, low resolution, medical mask"s
175
  )
176
 
177
  seed = gr.Slider(