HuiZhang0812 commited on
Commit
25ebb7a
·
verified ·
1 Parent(s): 277bdb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -121,9 +121,10 @@ def get_samples():
121
 
122
 
123
  with gr.Blocks() as demo:
124
- gr.Markdown("# CreatiLayout / Layout-to-Image generation")
125
-
126
  with gr.Row():
 
127
  with gr.Column():
128
  global_caption = gr.Textbox(lines=2, label="Global Caption")
129
  box_detail_phrases_list = gr.Dataframe(headers=["Region Captions"], label="Region Captions")
 
121
 
122
 
123
  with gr.Blocks() as demo:
124
+ gr.Markdown("# CreatiLayout: Layout-to-Image generation")
125
+ gr.Markdown("""CreatiLayout is a layout-to-image framework for Diffusion Transformer models, offering high-quality and fine-grained controllable generation based on the global description and entity annotations. Users need to provide a global description and the position and description of each entity, as shown in the examples. Please feel free to modify the position and attributes of the entities in the examples (such as size, color, shape, text, portrait, etc.). Here are some inspirations: Iron Man -> Spider Man/Harry Potter/Buzz Lightyear CreatiLayout -> Hello Friends/Let's Control drawing board -> round drawing board Modify the position of the drawing board to (0.4, 0.15, 0.55, 0.35)""")
126
  with gr.Row():
127
+
128
  with gr.Column():
129
  global_caption = gr.Textbox(lines=2, label="Global Caption")
130
  box_detail_phrases_list = gr.Dataframe(headers=["Region Captions"], label="Region Captions")