jamesliu1217 commited on
Commit
35a83b0
·
verified ·
1 Parent(s): 58be6dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -66,11 +66,13 @@ single_examples = [
66
  with gr.Blocks() as demo:
67
  gr.Markdown("# Ghibli Studio Control Image Generation with EasyControl")
68
  gr.Markdown("Generate images using EasyControl with Ghibli control LoRAs.(Due to hardware constraints, only low-resolution images can be generated. For high-resolution (1024+), please set up your own environment.)")
 
 
69
 
70
  with gr.Tab("Ghibli Condition Generation"):
71
  with gr.Row():
72
  with gr.Column():
73
- prompt = gr.Textbox(label="Prompt")
74
  spatial_img = gr.Image(label="Ghibli Image", type="pil") # 上传图像文件
75
  height = gr.Slider(minimum=256, maximum=1024, step=64, label="Height", value=768)
76
  width = gr.Slider(minimum=256, maximum=1024, step=64, label="Width", value=768)
 
66
  with gr.Blocks() as demo:
67
  gr.Markdown("# Ghibli Studio Control Image Generation with EasyControl")
68
  gr.Markdown("Generate images using EasyControl with Ghibli control LoRAs.(Due to hardware constraints, only low-resolution images can be generated. For high-resolution (1024+), please set up your own environment.)")
69
+
70
+ gr.Markdown("[Attention!!]:The recommended prompts for using Ghibli Control LoRA should include the trigger words: `Ghibli Studio style, Charming hand-drawn anime-style illustration`")
71
 
72
  with gr.Tab("Ghibli Condition Generation"):
73
  with gr.Row():
74
  with gr.Column():
75
+ prompt = gr.Textbox(label="Prompt", default="Ghibli Studio style, Charming hand-drawn anime-style illustration")
76
  spatial_img = gr.Image(label="Ghibli Image", type="pil") # 上传图像文件
77
  height = gr.Slider(minimum=256, maximum=1024, step=64, label="Height", value=768)
78
  width = gr.Slider(minimum=256, maximum=1024, step=64, label="Width", value=768)