DamarJati commited on
Commit
95a3aac
·
verified ·
1 Parent(s): 2f971e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def load_example():
68
  return example_prompt, example_cfg_scale, example_steps, False, example_seed, example_width, example_height, example_lora_scale, example_image
69
 
70
  with gr.Blocks() as app:
71
- gr.Markdown("# Flux LoRA Image Generator")
72
  with gr.Row():
73
  with gr.Column(scale=3):
74
  prompt = gr.TextArea(label="Prompt", placeholder="Type a prompt", lines=5)
@@ -81,6 +81,7 @@ with gr.Blocks() as app:
81
  lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1, step=0.01, value=example_lora_scale)
82
  with gr.Column(scale=1):
83
  result = gr.Image(label="Generated Image")
 
84
 
85
  # Automatically load example data and image when the interface is launched
86
  app.load(load_example, inputs=[], outputs=[prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora_scale, result])
 
68
  return example_prompt, example_cfg_scale, example_steps, False, example_seed, example_width, example_height, example_lora_scale, example_image
69
 
70
  with gr.Blocks() as app:
71
+ gr.Markdown("# Flux RealismLora Image Generator")
72
  with gr.Row():
73
  with gr.Column(scale=3):
74
  prompt = gr.TextArea(label="Prompt", placeholder="Type a prompt", lines=5)
 
81
  lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1, step=0.01, value=example_lora_scale)
82
  with gr.Column(scale=1):
83
  result = gr.Image(label="Generated Image")
84
+ gr.Markdown("Generate images using RealismLora and a text prompt.\n[[non-commercial license, Flux.1 Dev](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)]")
85
 
86
  # Automatically load example data and image when the interface is launched
87
  app.load(load_example, inputs=[], outputs=[prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora_scale, result])