Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def modify_caption(caption: str) -> str:
|
|
31 |
|
32 |
def create_captions_rich(files):
|
33 |
captions = []
|
34 |
-
prompt = "detailed
|
35 |
|
36 |
for file_path in files:
|
37 |
try:
|
|
|
31 |
|
32 |
def create_captions_rich(files):
|
33 |
captions = []
|
34 |
+
prompt = "You are an AI designed to generate prompts for advanced text-to-image generation. Analyze the provided image and output a detailed prompt in the following structured format: ## Subject:** [Detailed description of the main subject(s)] ## Setting:** [Vivid description of the environment and background] ## Style:** [Artistic style, color palette, lighting, composition] ## Details:** [Notable details, textures, patterns, specific elements] ## Photorealism/Abstraction:** [Specify the desired level of realism]"
|
35 |
|
36 |
for file_path in files:
|
37 |
try:
|