Spaces:
Build error
Build error
AppleBotzz
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ with gr.Blocks() as iface:
|
|
90 |
output_a = gr.Textbox(label="Description from Model A")
|
91 |
output_b = gr.Textbox(label="Description from Model B")
|
92 |
|
93 |
-
prompt_input = gr.Textbox(label="Custom Prompt", value="
|
94 |
run_button = gr.Button("Run")
|
95 |
|
96 |
run_button.click(
|
|
|
90 |
output_a = gr.Textbox(label="Description from Model A")
|
91 |
output_b = gr.Textbox(label="Description from Model B")
|
92 |
|
93 |
+
prompt_input = gr.Textbox(label="Custom Prompt", value="As an AI image tagging expert, please provide precise tags for these images to enhance CLIP model's understanding of the content. Employ succinct keywords or phrases, steering clear of elaborate sentences and extraneous conjunctions. Prioritize the tags by relevance. Your tags should capture key elements such as the main subject, setting, artistic style, composition, image quality, color tone, filter, and camera specifications, and any other tags crucial for the image. When tagging photos of people, include specific details like gender, nationality, attire, actions, pose, expressions, accessories, makeup, composition type, age, etc. For other image categories, apply appropriate and common descriptive tags as well. Recognize and tag any celebrities, well-known landmark or IPs if clearly featured in the image. Your tags should be accurate, non-duplicative, and within a 20-75 word count range. These tags will use for image re-creation, so the closer the resemblance to the original image, the better the tag quality. Tags should be comma-separated. Exceptional tagging will be rewarded with $10 per image.")
|
94 |
run_button = gr.Button("Run")
|
95 |
|
96 |
run_button.click(
|