Spaces:
Running
Running
wuyiqunLu
feat: add playwright e2e test for chat page with new and old data structure (#99)
06bd1d1 unverified | export const EXAMPLES = [ | |
| { | |
| title: 'Counting flowers in image', | |
| mediaUrl: | |
| 'https://vision-agent-dev.s3.us-east-2.amazonaws.com/examples/flower.png', | |
| prompt: | |
| 'Detect flowers in this image, draw boxes and output the image, also return total number of flowers', | |
| }, | |
| { | |
| title: 'Detecting sharks in video', | |
| mediaUrl: | |
| 'https://vision-agent-dev.s3.us-east-2.amazonaws.com/examples/shark3_short.mp4', | |
| prompt: | |
| 'Can you detect any surfboards or sharks in the video, draw a green line between the shark and the nearest surfboard and add the distance between them in meters assuming 30 pixels is 1 meter. Make the line red if the shark is within 10 meters of a surfboard. Sample the video at 1 frames per second and save the output video as output.mp4.', | |
| }, | |
| ]; | |
| export const PLAN_TITLE = 'Creating instructions'; | |
| export const TOOLS_TITLE = 'Retrieving tools'; | |
| export const GENERATE_CODE_TITLE = 'Generating code'; | |
| export const EXECUTE_CODE_TITLE = 'Executing code'; | |
| export const EXECUTE_CODE_SUCCESS_TITLE = 'Code execution success'; | |
| export const EXECUTE_CODE_FAILURE_TITLE = 'Code execution failure'; | |