kaytoo2022 commited on
Commit
4db5383
1 Parent(s): 29592ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -63,7 +63,7 @@ def run_lora(prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora
63
 
64
  # Example cached image and settings
65
  example_image_path = "bella_space.jpeg" # Replace with the actual path to the example image
66
- example_prompt = """A portrait picture of b3lla dog in an astronaut outfit. Planets are visible in the background"""
67
  example_cfg_scale = 3.2
68
  example_steps = 32
69
  example_width = 1152
@@ -74,8 +74,8 @@ example_lora_scale_2 = 0.0
74
 
75
  def load_example():
76
  # Load example image from file
77
- example_image = Image.open(example_image_path)
78
- return example_prompt, example_cfg_scale, example_steps, True, example_seed, example_width, example_height, example_lora_scale, example_lora_scale_2, example_image
79
 
80
  with gr.Blocks() as app:
81
  gr.Markdown("# Flux Lora Image Generator")
 
63
 
64
  # Example cached image and settings
65
  example_image_path = "bella_space.jpeg" # Replace with the actual path to the example image
66
+ example_prompt = """A portrait picture of [Just1nGu4n] in an astronaut outfit. Planets are visible in the background"""
67
  example_cfg_scale = 3.2
68
  example_steps = 32
69
  example_width = 1152
 
74
 
75
  def load_example():
76
  # Load example image from file
77
+ # example_image = Image.open(example_image_path)
78
+ return example_prompt, example_cfg_scale, example_steps, True, example_seed, example_width, example_height, example_lora_scale, example_lora_scale_2, None
79
 
80
  with gr.Blocks() as app:
81
  gr.Markdown("# Flux Lora Image Generator")