In HuggingGPT, later subtasks refer to earlier outputs by placeholder, for example the image produced by task 1. Before a subtask runs, those placeholders are replaced with the actual values.
Implement resolve_args(args, results), substituting each placeholder with its task output.
<task_id>.For each completed task, replace its placeholder text with the string form of its result.
No results yet
Run your code to check it against the examples, or submit to run every test.