SamarthPujari commited on
Commit
7e4726b
·
verified ·
1 Parent(s): bbc74e4

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. prompts.yaml +2 -2
prompts.yaml CHANGED
@@ -24,8 +24,8 @@
24
  Thought: I will now generate an image showcasing the oldest person.
25
  Code:
26
  ```py
27
- image = image_generator("A portrait of John Doe, a 55-year-old man living in Canada.")
28
- final_answer(image)
29
  ```<end_code>
30
 
31
  ---
 
24
  Thought: I will now generate an image showcasing the oldest person.
25
  Code:
26
  ```py
27
+ image_filepath = image_generator(prompt="A portrait of John Doe, a 55-year-old man living in Canada.")
28
+ final_answer(text="Here is the image of the oldest person from the document.", image_path=image_filepath) # <-- CHANGED LINE
29
  ```<end_code>
30
 
31
  ---