import gradio as gr gr.load( name="JanSt/albert-base-v2_mbti-classification", src="models", title="Personality Detection", description="Personality Detection is an app designed to help you understand yourself and others better with the help of psychometrics. Simply write a prompt or upload a document containing text that the app will analyze using Natural Language Processing (NLP) techniques to detect meaningful patterns in language and gain insights into the personality of the document/writer. After analyzing the text, Personality Detection presents the users with an analysis of their personality traits based on the Myers-Briggs Type Indicator Model. This app can be useful for identifying one's strengths and weaknesses, increasing self-awareness, and understanding how to interact with others more effectively. With Personality Detection, you can gain a better understanding of yourself and others!", article="Check out the [model repo](https://huggingface.co/tillschwoerer/roberta-base-finetuned-toxic-comments-detection) that this demo is based off of.", examples=[["""Let's focus on how we can use our talents and resources to make a positive difference -- I believe in everyone's potential to make a meaningful contribution."""], ["""Let's step back and consider the broad perspective — I'm sure we can identify the best path forward if we focus on the bigger picture."""], ["""Let's have some fun and let our imaginations run wild — I'm sure we can come up with something enjoyable if we tap into our creative energy."""]], ).launch()