Michelangiolo commited on
Commit
a8a3ce1
1 Parent(s): f09d8e2
Files changed (1) hide show
  1. big5_gradio.ipynb +7 -7
big5_gradio.ipynb CHANGED
@@ -16,7 +16,7 @@
16
  },
17
  {
18
  "cell_type": "code",
19
- "execution_count": 3,
20
  "metadata": {},
21
  "outputs": [],
22
  "source": [
@@ -59,14 +59,14 @@
59
  },
60
  {
61
  "cell_type": "code",
62
- "execution_count": 4,
63
  "metadata": {},
64
  "outputs": [
65
  {
66
  "name": "stdout",
67
  "output_type": "stream",
68
  "text": [
69
- "Running on local URL: http://127.0.0.1:7861\n",
70
  "\n",
71
  "To create a public link, set `share=True` in `launch()`.\n"
72
  ]
@@ -74,7 +74,7 @@
74
  {
75
  "data": {
76
  "text/html": [
77
- "<div><iframe src=\"http://127.0.0.1:7861/\" width=\"900\" height=\"500\" allow=\"autoplay; camera; microphone;\" frameborder=\"0\" allowfullscreen></iframe></div>"
78
  ],
79
  "text/plain": [
80
  "<IPython.core.display.HTML object>"
@@ -86,10 +86,10 @@
86
  {
87
  "data": {
88
  "text/plain": [
89
- "(<gradio.routes.App at 0x20208ada0d0>, 'http://127.0.0.1:7861/', None)"
90
  ]
91
  },
92
- "execution_count": 4,
93
  "metadata": {},
94
  "output_type": "execute_result"
95
  }
@@ -117,7 +117,7 @@
117
  "\n",
118
  " #extract big5\n",
119
  " q_list = list(questions)\n",
120
- " a_list = args_list[6:]\n",
121
  " list_total = [[q_list[x], a_list[x]] for x in range(len(a_list))]\n",
122
  " personality = calculate_personality_score(questions, list_total)\n",
123
  " personality = { x : personality[x]/50 for x in personality}\n",
 
16
  },
17
  {
18
  "cell_type": "code",
19
+ "execution_count": 1,
20
  "metadata": {},
21
  "outputs": [],
22
  "source": [
 
59
  },
60
  {
61
  "cell_type": "code",
62
+ "execution_count": 3,
63
  "metadata": {},
64
  "outputs": [
65
  {
66
  "name": "stdout",
67
  "output_type": "stream",
68
  "text": [
69
+ "Running on local URL: http://127.0.0.1:7862\n",
70
  "\n",
71
  "To create a public link, set `share=True` in `launch()`.\n"
72
  ]
 
74
  {
75
  "data": {
76
  "text/html": [
77
+ "<div><iframe src=\"http://127.0.0.1:7862/\" width=\"900\" height=\"500\" allow=\"autoplay; camera; microphone;\" frameborder=\"0\" allowfullscreen></iframe></div>"
78
  ],
79
  "text/plain": [
80
  "<IPython.core.display.HTML object>"
 
86
  {
87
  "data": {
88
  "text/plain": [
89
+ "(<gradio.routes.App at 0x27427d923a0>, 'http://127.0.0.1:7862/', None)"
90
  ]
91
  },
92
+ "execution_count": 3,
93
  "metadata": {},
94
  "output_type": "execute_result"
95
  }
 
117
  "\n",
118
  " #extract big5\n",
119
  " q_list = list(questions)\n",
120
+ " a_list = args_list[:]\n",
121
  " list_total = [[q_list[x], a_list[x]] for x in range(len(a_list))]\n",
122
  " personality = calculate_personality_score(questions, list_total)\n",
123
  " personality = { x : personality[x]/50 for x in personality}\n",