Severian commited on
Commit
36176e7
·
verified ·
1 Parent(s): 71213c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +46 -33
app.py CHANGED
@@ -486,41 +486,54 @@ with gr.Blocks(theme="Hev832/Applio", css=css, fill_width=True, fill_height=True
486
 
487
  <img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/Ce_Z478iOXljvpZ_Fr_Y7.png" alt="Captain" width="100" style="max-width: 100%; height: auto;">
488
 
489
- Hello, artist! Let's make some fun captions for your pictures. Here's how:
490
-
491
- 1. **Pick a Picture**: Find a cool picture you want to talk about and upload it.
492
-
493
- 2. **Choose What You Want**:
494
- - **Caption Type**:
495
- * "Descriptive" tells you what's in the picture
496
- * "Training Prompt" helps computers make similar pictures
497
- * "RNG-Tags" gives you short words about the picture
498
- * "Style Prompt" creates detailed prompts for image generation
499
-
500
- 3. **Pick a Style** (for "Descriptive" and "Style Prompt" only):
501
- - "Formal" sounds like a teacher talking
502
- - "Informal" sounds like a friend chatting
503
-
504
- 4. **Decide How Long**:
505
- - "Any" lets the computer decide
506
- - Or pick a size from "very short" to "very long"
507
- - You can even choose a specific number of words!
508
-
509
- 5. **Advanced Options** (for "Style Prompt" only):
510
- - Choose lens type, film stock, composition, and lighting details
511
-
512
- 6. **Make the Caption**: Click the "Make My Caption!" button and watch the magic happen!
513
-
514
- Remember, have fun and be creative with your captions!
 
 
 
 
 
 
 
 
 
 
 
 
 
515
 
516
  ## Tips for Great Captions:
517
- - Try different types to see what you like best
518
- - Experiment with formal and informal tones for fun variations
519
- - Adjust the length to get just the right amount of detail
520
- - For "Style Prompt", play with the advanced options for more specific results
521
- - If you don't like a caption, just click "Make My Caption!" again for a new one
522
-
523
- Have a great time captioning your art!
524
  """)
525
 
526
  with gr.Row():
 
486
 
487
  <img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/Ce_Z478iOXljvpZ_Fr_Y7.png" alt="Captain" width="100" style="max-width: 100%; height: auto;">
488
 
489
+ Hello, artist! Let's create amazing captions for your pictures. Here's a comprehensive guide:
490
+
491
+ 1. **Upload Your Image**: Choose a picture you want to caption and upload it.
492
+
493
+ 2. **Select Caption Type**:
494
+ - "Descriptive": Provides a detailed description of the image
495
+ - "Descriptive (Informal)": Gives a casual description of the image
496
+ - "Training Prompt": Creates prompts for AI image generation
497
+ - "MidJourney": Generates prompts specifically for MidJourney AI
498
+ - "Booru tag list": Produces tags in the style of image booru websites
499
+ - "Booru-like tag list": Creates tags similar to booru style, but more flexible
500
+ - "Art Critic": Analyzes the image from an art critic's perspective
501
+ - "Product Listing": Describes the image as if it were a product for sale
502
+ - "Social Media Post": Crafts a caption suitable for social media
503
+ - "Style Prompt": Generates detailed prompts for specific image styles
504
+
505
+ 3. **Choose Caption Length**:
506
+ - "Any": Lets the AI decide the appropriate length
507
+ - Select from "very short" to "very long"
508
+ - Or specify an exact word count (20 to 260 words)
509
+
510
+ 4. **Extra Options**: Customize your caption with these choices:
511
+ - Refer to people/characters as a specific name
512
+ - Focus on changeable attributes, not unchangeable characteristics
513
+ - Include details about lighting, camera angle, or image quality
514
+ - Specify technical photography details for photos
515
+ - Control the tone (e.g., keep it PG, avoid ambiguous language)
516
+ - Include or exclude specific elements (e.g., text in the image, aesthetic quality)
517
+ - Determine the level of detail in the description
518
+
519
+ 5. **Advanced Options for Style Prompt**:
520
+ - Lens Type: Choose from various lens effects (e.g., wide-angle, telephoto)
521
+ - Film Stock: Select different film types for unique color and grain effects
522
+ - Composition Style: Specify how elements are arranged in the image
523
+ - Lighting Aspect: Define the mood through lighting choices
524
+ - Special Technique: Add unique photographic effects
525
+ - Color Effect: Alter the overall color palette of the image
526
+
527
+ 6. **Generate Your Caption**: Click "Make My Caption!" and see the results!
528
 
529
  ## Tips for Great Captions:
530
+ - Experiment with different caption types to find what works best for your needs
531
+ - Use the extra options to fine-tune the focus and style of your captions
532
+ - For "Style Prompt", explore the advanced options to create highly specific image descriptions
533
+ - If you're not satisfied with a caption, simply generate a new one
534
+ - The "Custom Prompt" option allows for more specific instructions, but use it cautiously
535
+
536
+ Remember, Caption Captain is here to inspire and assist your creative process. Have fun exploring all the possibilities!
537
  """)
538
 
539
  with gr.Row():