gokaygokay commited on
Commit
b86fa87
·
verified ·
1 Parent(s): 6d05cd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -99,7 +99,7 @@ def generate_flux_image(
99
  if randomize_seed:
100
  seed = random.randint(0, MAX_SEED)
101
  generator = torch.Generator(device=device).manual_seed(seed)
102
-
103
  image = flux_pipeline(
104
  prompt=prompt,
105
  guidance_scale=guidance_scale,
@@ -189,7 +189,7 @@ with gr.Blocks() as demo:
189
  with gr.Column():
190
  # Flux image generation inputs
191
  prompt = gr.Text(label="Prompt", placeholder="Enter your game asset description")
192
- promtp = "wbgmsst, " + prompt + ", white background"
193
  with gr.Accordion("Generation Settings", open=False):
194
  seed = gr.Slider(0, MAX_SEED, label="Seed", value=42, step=1)
195
  randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
 
99
  if randomize_seed:
100
  seed = random.randint(0, MAX_SEED)
101
  generator = torch.Generator(device=device).manual_seed(seed)
102
+ promtp = "wbgmsst, " + prompt + ", white background"
103
  image = flux_pipeline(
104
  prompt=prompt,
105
  guidance_scale=guidance_scale,
 
189
  with gr.Column():
190
  # Flux image generation inputs
191
  prompt = gr.Text(label="Prompt", placeholder="Enter your game asset description")
192
+
193
  with gr.Accordion("Generation Settings", open=False):
194
  seed = gr.Slider(0, MAX_SEED, label="Seed", value=42, step=1)
195
  randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)