Display SHAP diagrams with Streamlit

I am struggling with this. tried the suggested approach:

shap.force_plot(shap_explainer.expected_value[1], shap_values[1], df[cols].iloc[0],matplotlib=True,figsize=(16,5))
st.pyplot(bbox_inches='tight',dpi=300,pad_inches=0)
pl.clf()

But I am getting below error:

TypeError: can only concatenate str (not “float”) to str

Further log of the error:

lib\site-packages\shap\plots\force.py", line 138, in force_plot
return visualize(e, plot_cmap, matplotlib, figsize=figsize, show=show, text_rotation=text_rotation)

lib\site-packages\shap\plots\force.py", line 295, in visualize
return AdditiveForceVisualizer(e, plot_cmap=plot_cmap).matplotlib(figsize=figsize, show=show, text_rotation=text_rotation)

lib\site-packages\shap\plots\force.py", line 393, in matplotlib
fig = draw_additive_plot(self.data, figsize=figsize, show=show, text_rotation=text_rotation)

lib\site-packages\shap\plots\force_matplotlib.py", line 386, in draw_additive_plot
 offset_text, total_effect, min_perc=0.05, text_rotation=text_rotation)

lib\site-packages\shap\plots\force_matplotlib.py", line 117, in draw_labels
 text = feature[2] + ' = ' + feature[1]

Though when I try to print shap_values, I am getting expected output.
Also when I am trying to plot the summary plot it is working fine.

shap.summary_plot(shap_values, df[cols], plot_type="bar")

Am I missing anything here?