Gordonkl commited on
Commit
a0e73aa
1 Parent(s): c54749c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -494,16 +494,16 @@ title = r"""
494
  <h1 align="center">CSGO: Content-Style Composition in Text-to-Image Generation</h1>
495
  """
496
 
497
- description = r"""
498
  <b>Official Gradio demo</b> for <a href='https://github.com/instantX-research/CSGO' target='_blank'><b>CSGO: Content-Style Composition in Text-to-Image Generation</b></a>.<br>
499
  How to use:<br>
500
  1. Upload a content image if you want to use image-driven style transfer.
501
  2. Upload a style image.
502
  3. Sets the type of task to perform, by default image-driven style transfer is performed. Options are <b>Image-driven style transfer, Text-driven style synthesis, and Text editing-driven style synthesis<b>.
503
  4. <b>If you choose a text-driven task, enter your desired prompt<b>.
504
- 5. If you don't provide a prompt, the default is to use the BLIP model to generate the caption. We suggest that by providing detailed prompts for Content images, CSGO is able to effectively guarantee content.
505
- 6. Click the <b>Submit</b> button to begin customization.
506
- 7. Share your stylized photo with your friends and enjoy! 😊
507
 
508
  Advanced usage:<br>
509
  1. Click advanced options.
 
494
  <h1 align="center">CSGO: Content-Style Composition in Text-to-Image Generation</h1>
495
  """
496
 
497
+ description = r'''
498
  <b>Official Gradio demo</b> for <a href='https://github.com/instantX-research/CSGO' target='_blank'><b>CSGO: Content-Style Composition in Text-to-Image Generation</b></a>.<br>
499
  How to use:<br>
500
  1. Upload a content image if you want to use image-driven style transfer.
501
  2. Upload a style image.
502
  3. Sets the type of task to perform, by default image-driven style transfer is performed. Options are <b>Image-driven style transfer, Text-driven style synthesis, and Text editing-driven style synthesis<b>.
503
  4. <b>If you choose a text-driven task, enter your desired prompt<b>.
504
+ 5. If you don't provide a prompt, the default is to use the BLIP model to generate the caption. We suggest that by providing detailed prompts for Content images, CSGO is able to effectively guarantee content.
505
+ '''
506
+
507
 
508
  Advanced usage:<br>
509
  1. Click advanced options.