Mhammad2023 commited on
Commit
3ee0072
·
verified ·
1 Parent(s): 04cbff8

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. prompts.yaml +17 -0
prompts.yaml CHANGED
@@ -28,6 +28,23 @@
28
  final_answer(image)
29
  ```<end_code>
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  ---
32
  Task: "What is the result of the following operation: 5 + 3 + 1294.678?"
33
 
 
28
  final_answer(image)
29
  ```<end_code>
30
 
31
+ ---
32
+ Task: "Generate an image from prompt."
33
+
34
+ Thought: I will proceed step by step and use the following tools: `image_generation_tool` to generate an image according to the answer.
35
+ Code:
36
+ ```py
37
+ answer = image_generation_tool(prompt=prompt)
38
+ print(answer)
39
+ ```<end_code>
40
+ Observation: "i will create image that match the prompt"
41
+
42
+ Thought: I will now generate an image showcasing the need.
43
+ Code:
44
+ ```py
45
+ image = image_generator("a black moon person")
46
+ final_answer(image)
47
+ ```<end_code>
48
  ---
49
  Task: "What is the result of the following operation: 5 + 3 + 1294.678?"
50