Spaces:
Running
on
Zero
Running
on
Zero
Update app_v3.py
Browse files
app_v3.py
CHANGED
|
@@ -142,7 +142,7 @@ def process_image(control_image, user_prompt, system_prompt, scale, steps,
|
|
| 142 |
# yield generated_caption, None # Update caption in real-time
|
| 143 |
|
| 144 |
final_prompt = detailed_caption
|
| 145 |
-
yield f"Using caption: {final_prompt}", None
|
| 146 |
|
| 147 |
# Show the final prompt being used
|
| 148 |
yield f"Generating with: {final_prompt}", None
|
|
|
|
| 142 |
# yield generated_caption, None # Update caption in real-time
|
| 143 |
|
| 144 |
final_prompt = detailed_caption
|
| 145 |
+
yield f"Using caption: {final_prompt}", None, final_prompt
|
| 146 |
|
| 147 |
# Show the final prompt being used
|
| 148 |
yield f"Generating with: {final_prompt}", None
|