owaiskha9654
commited on
Commit
β’
440a85c
1
Parent(s):
3cb5cab
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ model_input = gr.Textbox("Input text here (Note: This model is trained to classi
|
|
57 |
model_output = gr.Label(" Big-Five personality traits Result", num_top_classes=6, show_label=True, label="Big-Five personality traits Labels assigned to this text based on its features")
|
58 |
examples = [
|
59 |
( "Well, here we go with the stream-of-consciousness essay. I used to do things like this in high school sometimes.",
|
60 |
-
"They were pretty interesting, but I often find myself
|
61 |
"I normally consider myself someone who gets straight to the point. I wonder if I should hit enter any time to send this back to the front",
|
62 |
"Maybe I'll fix it later. My friend is playing guitar in my room now. Sort of playing anyway.",
|
63 |
"More like messing with it. He's still learning. There's a drawing on the wall next to me. "
|
@@ -65,28 +65,28 @@ examples = [
|
|
65 |
( "An open keyboard and buttons to push. The thing finally worked and I need not use periods, commas, and all those things.",
|
66 |
"Double space after a period. We can't help it. I put spaces between my words and I do my happy little assignment of jibber-jabber.",
|
67 |
"Babble babble babble for 20 relaxing minutes and I feel silly and grammatically incorrect. I am linked to an unknown reader.",
|
68 |
-
"A graduate student with an absurd job. I type. I
|
69 |
-
"the
|
70 |
"I know I shouldn't be thinking. or writing let's say/ So I don't. Thoughts don't solidify. They lodge in the back. behind my tongue maybe.",
|
71 |
),
|
72 |
|
73 |
-
( "My favorite aspect of debate would
|
74 |
-
"
|
75 |
-
"passed, but we just wanted people to have to argue against them, in most cases we would try to make our bills interesting or at least darkly satirical, ",
|
76 |
"so that the only arguments that could be made against them would be based on moral rationalization rather than common reason- the moral debates would most ",
|
77 |
-
"likely get everyone interested and could be defeated by one who was willing not to be moral- none of our bills ever passed
|
78 |
"often losing my train of thought but I don't believe that that is how I usually think- as a result of the confines of this experiment I am discovering that",
|
79 |
"I am thinking more quickly than I normally do and I can't explain why that is other to keep typing, however, when I am normally thinking, I still try to think",
|
80 |
),
|
81 |
|
82 |
( "slowly and articulately so as not to speak something that makes me look ignorant-this is said mostly to point to out possible flaws in the ways of tracing thoughts .",
|
83 |
-
"Now in fact I
|
84 |
-
"are sure to be found in his assignment- don't mean the errors
|
85 |
"that look as if they have been written by an idiot because I am not a very talented typist and my fingers are slipping over the keys, I would go back and fix these ",
|
86 |
"errors but that seems contradictory to the nature of the assignment 2:53 was the time at which I am writing this I am also realizing that occasionally there is ",
|
87 |
"no clear and concise thought n my head which I can write down or there are just so many thoughts that I can not possibly transfer them onto paper at the rate at which ",
|
88 |
"they are passing through- I hate leaving the impression with anyone that I am ignorant and I think that is the main reason I dislike this assignment because I don't ",
|
89 |
-
"see how anyone can read this and not see exactly that-
|
90 |
"I also hate writing this to a professor of psychology because I am sure it is analyzed more than is necessary- if this assignment is done honestly then you could probably ",
|
91 |
"just talk to someone and get just as many honest answers- well -I've just hit nineteen minutes and I suppose that last sentence is just as good a place to finish off as any where. ")
|
92 |
|
@@ -113,4 +113,5 @@ app = gr.Interface(
|
|
113 |
)
|
114 |
|
115 |
|
|
|
116 |
app.launch(show_error=False)
|
|
|
57 |
model_output = gr.Label(" Big-Five personality traits Result", num_top_classes=6, show_label=True, label="Big-Five personality traits Labels assigned to this text based on its features")
|
58 |
examples = [
|
59 |
( "Well, here we go with the stream-of-consciousness essay. I used to do things like this in high school sometimes.",
|
60 |
+
"They were pretty interesting, but I often find myself lacking things to say. ",
|
61 |
"I normally consider myself someone who gets straight to the point. I wonder if I should hit enter any time to send this back to the front",
|
62 |
"Maybe I'll fix it later. My friend is playing guitar in my room now. Sort of playing anyway.",
|
63 |
"More like messing with it. He's still learning. There's a drawing on the wall next to me. "
|
|
|
65 |
( "An open keyboard and buttons to push. The thing finally worked and I need not use periods, commas, and all those things.",
|
66 |
"Double space after a period. We can't help it. I put spaces between my words and I do my happy little assignment of jibber-jabber.",
|
67 |
"Babble babble babble for 20 relaxing minutes and I feel silly and grammatically incorrect. I am linked to an unknown reader.",
|
68 |
+
"A graduate student with an absurd job. I type. I chatter and I think about dinoflagellates. About sunflower crosses and about ",
|
69 |
+
"the fibreglass that has to be added to my lips via clove cigarettes and I think about things that I shouldn't be thinking.",
|
70 |
"I know I shouldn't be thinking. or writing let's say/ So I don't. Thoughts don't solidify. They lodge in the back. behind my tongue maybe.",
|
71 |
),
|
72 |
|
73 |
+
( "My favorite aspect of debate would be --this all gets back to a time when we were assigned to write a bill that we would take to a fake model ",
|
74 |
+
"United Nations conference and we would have to present a bill that we wanted to be passed- in fact, my partner and I rarely wanted the bills we proposed to be ",
|
75 |
+
"passed, but we just wanted people to have to argue against them, in most cases, we would try to make our bills interesting or at least darkly satirical, ",
|
76 |
"so that the only arguments that could be made against them would be based on moral rationalization rather than common reason- the moral debates would most ",
|
77 |
+
"likely get everyone interested and could be defeated by one who was willing not to be moral- none of our bills ever passed I write this I find that I am ",
|
78 |
"often losing my train of thought but I don't believe that that is how I usually think- as a result of the confines of this experiment I am discovering that",
|
79 |
"I am thinking more quickly than I normally do and I can't explain why that is other to keep typing, however, when I am normally thinking, I still try to think",
|
80 |
),
|
81 |
|
82 |
( "slowly and articulately so as not to speak something that makes me look ignorant-this is said mostly to point to out possible flaws in the ways of tracing thoughts .",
|
83 |
+
"Now in fact I am running out of things to say before I finish, which is still about seven minutes away- I'd like to apologize for the many spelling errors that ",
|
84 |
+
"are sure to be found in his assignment- don't mean the natural errors such as words that I just don't know the spelling of but rather, I mean the words ",
|
85 |
"that look as if they have been written by an idiot because I am not a very talented typist and my fingers are slipping over the keys, I would go back and fix these ",
|
86 |
"errors but that seems contradictory to the nature of the assignment 2:53 was the time at which I am writing this I am also realizing that occasionally there is ",
|
87 |
"no clear and concise thought n my head which I can write down or there are just so many thoughts that I can not possibly transfer them onto paper at the rate at which ",
|
88 |
"they are passing through- I hate leaving the impression with anyone that I am ignorant and I think that is the main reason I dislike this assignment because I don't ",
|
89 |
+
"see how anyone can read this and not see exactly that- I hope that at least everyone will appear ignorant and then at least I will be on even ground.",
|
90 |
"I also hate writing this to a professor of psychology because I am sure it is analyzed more than is necessary- if this assignment is done honestly then you could probably ",
|
91 |
"just talk to someone and get just as many honest answers- well -I've just hit nineteen minutes and I suppose that last sentence is just as good a place to finish off as any where. ")
|
92 |
|
|
|
113 |
)
|
114 |
|
115 |
|
116 |
+
|
117 |
app.launch(show_error=False)
|