Hi, I want to classify multi class text classification. But Iām confuse, how to classify them with 5 different categories like we classify image.
def text(txt):
x = pipeline (txt)
return x
text("the macdonald food is not good")
gr.Interface(fn=predict,inputs="text",outputs=gr.Label.output(5)).launch()