C4 week 4 assign 2 exercise 6

i was cruising along or so i thought at least till i hit this wall: heres my error code i hope i dont have to go back to exercise 1 again but im suspecting it may be case : ------------------------------------------------------------
TypeError Traceback (most recent call last)
Input In [96], in <cell line: 7>()
1 ### you cannot edit this cell
3 # You always must run the last cell before this one. You will get an error if not.
5 generated_image = tf.Variable(generated_image)
----> 7 train_step_test(train_step, generated_image)

File /tf/W4A2/public_tests.py:86, in train_step_test(target, generated_image)
82 def train_step_test(target, generated_image):
83 generated_image = tf.Variable(generated_image)
—> 86 J1 = target(generated_image)
87 print(J1)
88 assert type(J1) == EagerTensor, f"Wrong type {type(J1)} != {EagerTensor}"

File /usr/local/lib/python3.8/dist-packages/tensorflow/python/util/traceback_utils.py:153, in filter_traceback..error_handler(*args, **kwargs)
151 except Exception as e:
152 filtered_tb = _process_traceback_frames(e.traceback)
→ 153 raise e.with_traceback(filtered_tb) from None
154 finally:
155 del filtered_tb

File /tmp/autograph_generated_file7z0ongzg.py:11, in outer_factory..inner_factory..tf__train_step(generated_image)
9 retval
= ag
10 with ag__.ld(tf).GradientTape() as tape:
—> 11 a_G = ag__.ld(vgg_model_outputs)[‘clip_0_1’]
12 J_style = ag__.converted_call(ag__.ld(compute_style_cost), (ag__.ld(a_S), ag__.ld(a_G)), None, fscope)
13 J_content = ag__.converted_call(ag__.ld(compute_content_cost), (ag__.ld(a_C), ag__.ld(a_G)), None, fscope)

TypeError: in user code:

File "<ipython-input-94-16269ccf3322>", line 16, in train_step  *
    a_G = vgg_model_outputs['clip_0_1']

TypeError: 'Functional' object is not subscriptable

I don’t find a line of code like that anywhere in my notebook. Think about what that means. vgg_model_outputs is a TF function that takes an image tensor as the input. But you are trying to index it as if it were a dictionary with the dictionary key being the string name of a different function. What was your intent in doing that?

Ok solved thanks again