Decrease processing speed of pipeline

When I try to set the framerate parameter then I get this message:

Traceback (most recent call last):
File “”, line 58, in
File “”, line 28, in main
pipeline, streammux, tiler, nvosd, ALL_BINS = construct_pipeline(sources, ip_addreses, ONNX, fileNames)
File “/home/aizatron/repos/RnD-video-tracking/src/”, line 161, in construct_pipeline
videoRate.set_property(“framerate”, 10/1)
TypeError: object of type GstVideoRate' does not have property framerate’

And here is the relevant section of code:

videoRate = Gst.ElementFactory.make("videorate", "videorate_Plugin")
videoRate.set_property("framerate", 10/1)
queue = make_queue()