うみゅ commited on
Commit
aa5debc
·
1 Parent(s): 0186f79

Colab を使用して作成されました

Browse files
Files changed (1) hide show
  1. launch_app.ipynb +174 -94
launch_app.ipynb CHANGED
@@ -3,8 +3,7 @@
3
  "nbformat_minor": 0,
4
  "metadata": {
5
  "colab": {
6
- "provenance": [],
7
- "toc_visible": true
8
  },
9
  "kernelspec": {
10
  "name": "python3",
@@ -34,9 +33,9 @@
34
  "base_uri": "https://localhost:8080/"
35
  },
36
  "id": "7a5Rf_Qee3N1",
37
- "outputId": "719bb077-fd14-4761-fb37-ad2aa86c17d8"
38
  },
39
- "execution_count": 35,
40
  "outputs": [
41
  {
42
  "output_type": "stream",
@@ -49,20 +48,26 @@
49
  },
50
  {
51
  "cell_type": "code",
52
- "execution_count": 36,
53
  "metadata": {
54
  "colab": {
55
  "base_uri": "https://localhost:8080/"
56
  },
57
  "id": "fYM7KJOfdPuK",
58
- "outputId": "31d665dc-e159-4e2c-f1a2-05a6a6a39ea0"
59
  },
60
  "outputs": [
61
  {
62
  "output_type": "stream",
63
  "name": "stdout",
64
  "text": [
65
- "fatal: destination path 'SaliencyMapDemo' already exists and is not an empty directory.\n"
 
 
 
 
 
 
66
  ]
67
  }
68
  ],
@@ -80,110 +85,181 @@
80
  "base_uri": "https://localhost:8080/"
81
  },
82
  "id": "H0HI3iKRenJB",
83
- "outputId": "67e4274d-cb65-4f75-b1ae-e79a6fe953a2"
84
  },
85
- "execution_count": 40,
86
  "outputs": [
87
  {
88
  "output_type": "stream",
89
  "name": "stdout",
90
  "text": [
91
- "/content/SaliencyMapDemo/SaliencyMapDemo\n"
92
  ]
93
  }
94
  ]
95
  },
96
  {
97
  "cell_type": "code",
98
- "execution_count": 41,
99
  "metadata": {
100
  "colab": {
101
  "base_uri": "https://localhost:8080/"
102
  },
103
  "id": "UxrRgQpmDK_g",
104
- "outputId": "ff72156f-9b3e-42ed-9b21-95de1d83ad2a"
105
  },
106
  "outputs": [
107
  {
108
  "output_type": "stream",
109
  "name": "stdout",
110
  "text": [
111
- "Requirement already satisfied: aiofiles==23.2.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 1)) (23.2.1)\n",
112
- "Requirement already satisfied: altair==5.3.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 2)) (5.3.0)\n",
113
- "Requirement already satisfied: annotated-types==0.6.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 3)) (0.6.0)\n",
114
- "Requirement already satisfied: anyio==4.3.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 4)) (4.3.0)\n",
115
- "Requirement already satisfied: attrs==23.2.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 5)) (23.2.0)\n",
116
- "Requirement already satisfied: certifi==2024.2.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 6)) (2024.2.2)\n",
117
- "Requirement already satisfied: charset-normalizer==3.3.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (3.3.2)\n",
118
- "Requirement already satisfied: click==8.1.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 8)) (8.1.7)\n",
119
- "Requirement already satisfied: colorama==0.4.6 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 9)) (0.4.6)\n",
120
- "Requirement already satisfied: contourpy==1.2.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 10)) (1.2.1)\n",
121
- "Requirement already satisfied: cycler==0.12.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 11)) (0.12.1)\n",
122
- "Requirement already satisfied: dnspython==2.6.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 12)) (2.6.1)\n",
123
- "Requirement already satisfied: email_validator==2.1.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 13)) (2.1.1)\n",
124
- "Requirement already satisfied: exceptiongroup==1.2.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 14)) (1.2.1)\n",
125
- "Requirement already satisfied: fastapi==0.111.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 15)) (0.111.0)\n",
126
- "Requirement already satisfied: fastapi-cli==0.0.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 16)) (0.0.2)\n",
127
- "Requirement already satisfied: ffmpy==0.3.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 17)) (0.3.2)\n",
128
- "Requirement already satisfied: filelock==3.14.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 18)) (3.14.0)\n",
129
- "Requirement already satisfied: fonttools==4.51.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 19)) (4.51.0)\n",
130
- "Requirement already satisfied: fsspec==2024.3.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 20)) (2024.3.1)\n",
131
- "Requirement already satisfied: gradio==4.28.3 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 21)) (4.28.3)\n",
132
- "Requirement already satisfied: gradio_client==0.16.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 22)) (0.16.0)\n",
133
- "Requirement already satisfied: h11==0.14.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 23)) (0.14.0)\n",
134
- "Requirement already satisfied: httpcore==1.0.5 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 24)) (1.0.5)\n",
135
- "Requirement already satisfied: httptools==0.6.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 25)) (0.6.1)\n",
136
- "Requirement already satisfied: httpx==0.27.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 26)) (0.27.0)\n",
137
- "Requirement already satisfied: huggingface-hub==0.23.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 27)) (0.23.0)\n",
138
- "Requirement already satisfied: idna==3.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 28)) (3.7)\n",
139
- "Requirement already satisfied: importlib_resources==6.4.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 29)) (6.4.0)\n",
140
- "Requirement already satisfied: Jinja2==3.1.3 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 30)) (3.1.3)\n",
141
- "Requirement already satisfied: jsonschema==4.22.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 31)) (4.22.0)\n",
142
- "Requirement already satisfied: jsonschema-specifications==2023.12.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 32)) (2023.12.1)\n",
143
- "Requirement already satisfied: kiwisolver==1.4.5 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 33)) (1.4.5)\n",
144
- "Requirement already satisfied: markdown-it-py==3.0.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 34)) (3.0.0)\n",
145
- "Requirement already satisfied: MarkupSafe==2.1.5 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 35)) (2.1.5)\n",
146
- "Requirement already satisfied: matplotlib==3.8.4 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 36)) (3.8.4)\n",
147
- "Requirement already satisfied: mdurl==0.1.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 37)) (0.1.2)\n",
148
- "Requirement already satisfied: numpy==1.26.4 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 38)) (1.26.4)\n",
149
- "Requirement already satisfied: opencv-python==4.9.0.80 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 39)) (4.9.0.80)\n",
150
- "Requirement already satisfied: opencv-contrib-python==4.9.0.80 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 40)) (4.9.0.80)\n",
151
- "Requirement already satisfied: orjson==3.10.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 41)) (3.10.2)\n",
152
- "Requirement already satisfied: packaging==24.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 42)) (24.0)\n",
153
- "Requirement already satisfied: pandas==2.2.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 43)) (2.2.2)\n",
154
- "Requirement already satisfied: pillow==10.3.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 44)) (10.3.0)\n",
155
- "Requirement already satisfied: pydantic==2.7.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 45)) (2.7.1)\n",
156
- "Requirement already satisfied: pydantic_core==2.18.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 46)) (2.18.2)\n",
157
- "Requirement already satisfied: pydub==0.25.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 47)) (0.25.1)\n",
158
- "Requirement already satisfied: Pygments==2.17.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 48)) (2.17.2)\n",
159
- "Requirement already satisfied: pyparsing==3.1.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 49)) (3.1.2)\n",
160
- "Requirement already satisfied: python-dateutil==2.9.0.post0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 50)) (2.9.0.post0)\n",
161
- "Requirement already satisfied: python-dotenv==1.0.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 51)) (1.0.1)\n",
162
- "Requirement already satisfied: python-multipart==0.0.9 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 52)) (0.0.9)\n",
163
- "Requirement already satisfied: pytz==2024.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 53)) (2024.1)\n",
164
- "Requirement already satisfied: PyYAML==6.0.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 54)) (6.0.1)\n",
165
- "Requirement already satisfied: referencing==0.35.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 55)) (0.35.1)\n",
166
- "Requirement already satisfied: requests==2.31.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 56)) (2.31.0)\n",
167
- "Requirement already satisfied: rich==13.7.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 57)) (13.7.1)\n",
168
- "Requirement already satisfied: rpds-py==0.18.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 58)) (0.18.0)\n",
169
- "Requirement already satisfied: ruff==0.4.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 59)) (0.4.2)\n",
170
- "Requirement already satisfied: semantic-version==2.10.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 60)) (2.10.0)\n",
171
- "Requirement already satisfied: shellingham==1.5.4 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 61)) (1.5.4)\n",
172
- "Requirement already satisfied: six==1.16.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 62)) (1.16.0)\n",
173
- "Requirement already satisfied: sniffio==1.3.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 63)) (1.3.1)\n",
174
- "Requirement already satisfied: starlette==0.37.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 64)) (0.37.2)\n",
175
- "Requirement already satisfied: tomlkit==0.12.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 65)) (0.12.0)\n",
176
- "Requirement already satisfied: toolz==0.12.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 66)) (0.12.1)\n",
177
- "Requirement already satisfied: tqdm==4.66.4 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 67)) (4.66.4)\n",
178
- "Requirement already satisfied: typer==0.12.3 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 68)) (0.12.3)\n",
179
- "Requirement already satisfied: typing_extensions==4.11.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 69)) (4.11.0)\n",
180
- "Requirement already satisfied: tzdata==2024.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 70)) (2024.1)\n",
181
- "Requirement already satisfied: ujson==5.9.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 71)) (5.9.0)\n",
182
- "Requirement already satisfied: urllib3==2.2.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 72)) (2.2.1)\n",
183
- "Requirement already satisfied: uvicorn==0.29.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 73)) (0.29.0)\n",
184
- "Requirement already satisfied: watchfiles==0.21.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 74)) (0.21.0)\n",
185
- "Requirement already satisfied: websockets==11.0.3 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 75)) (11.0.3)\n",
186
- "Requirement already satisfied: uvloop!=0.15.0,!=0.15.1,>=0.14.0 in /usr/local/lib/python3.10/dist-packages (from uvicorn==0.29.0->-r requirements.txt (line 73)) (0.19.0)\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  ]
188
  }
189
  ],
@@ -210,18 +286,22 @@
210
  "base_uri": "https://localhost:8080/"
211
  },
212
  "id": "J3kKmi6Rd95n",
213
- "outputId": "f6d09c36-8603-4ff6-fb34-f72497dcc0ff"
214
  },
215
- "execution_count": 39,
216
  "outputs": [
217
  {
218
  "output_type": "stream",
219
  "name": "stdout",
220
  "text": [
221
- "Traceback (most recent call last):\n",
222
- " File \"/content/SaliencyMapDemo/app.py\", line 12, in <module>\n",
223
- " import utils\n",
224
- "ModuleNotFoundError: No module named 'utils'\n"
 
 
 
 
225
  ]
226
  }
227
  ]
 
3
  "nbformat_minor": 0,
4
  "metadata": {
5
  "colab": {
6
+ "provenance": []
 
7
  },
8
  "kernelspec": {
9
  "name": "python3",
 
33
  "base_uri": "https://localhost:8080/"
34
  },
35
  "id": "7a5Rf_Qee3N1",
36
+ "outputId": "c3890145-930e-4889-e57e-22321250461f"
37
  },
38
+ "execution_count": 1,
39
  "outputs": [
40
  {
41
  "output_type": "stream",
 
48
  },
49
  {
50
  "cell_type": "code",
51
+ "execution_count": 2,
52
  "metadata": {
53
  "colab": {
54
  "base_uri": "https://localhost:8080/"
55
  },
56
  "id": "fYM7KJOfdPuK",
57
+ "outputId": "79470848-c908-4f7c-81c4-6aeb353498b8"
58
  },
59
  "outputs": [
60
  {
61
  "output_type": "stream",
62
  "name": "stdout",
63
  "text": [
64
+ "Cloning into 'SaliencyMapDemo'...\n",
65
+ "remote: Enumerating objects: 84, done.\u001b[K\n",
66
+ "remote: Counting objects: 100% (84/84), done.\u001b[K\n",
67
+ "remote: Compressing objects: 100% (64/64), done.\u001b[K\n",
68
+ "remote: Total 84 (delta 36), reused 47 (delta 18), pack-reused 0\u001b[K\n",
69
+ "Receiving objects: 100% (84/84), 29.23 KiB | 9.74 MiB/s, done.\n",
70
+ "Resolving deltas: 100% (36/36), done.\n"
71
  ]
72
  }
73
  ],
 
85
  "base_uri": "https://localhost:8080/"
86
  },
87
  "id": "H0HI3iKRenJB",
88
+ "outputId": "770d3024-43a2-4282-f59d-bc496cba9cf6"
89
  },
90
+ "execution_count": 3,
91
  "outputs": [
92
  {
93
  "output_type": "stream",
94
  "name": "stdout",
95
  "text": [
96
+ "/content/SaliencyMapDemo\n"
97
  ]
98
  }
99
  ]
100
  },
101
  {
102
  "cell_type": "code",
103
+ "execution_count": 4,
104
  "metadata": {
105
  "colab": {
106
  "base_uri": "https://localhost:8080/"
107
  },
108
  "id": "UxrRgQpmDK_g",
109
+ "outputId": "235c6006-55cd-4c1a-d20d-fadd40488f07"
110
  },
111
  "outputs": [
112
  {
113
  "output_type": "stream",
114
  "name": "stdout",
115
  "text": [
116
+ "Collecting gradio==4.28.3 (from -r requirements.txt (line 1))\n",
117
+ " Downloading gradio-4.28.3-py3-none-any.whl (12.2 MB)\n",
118
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.2/12.2 MB\u001b[0m \u001b[31m25.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
119
+ "\u001b[?25hCollecting gradio_client==0.16.0 (from -r requirements.txt (line 2))\n",
120
+ " Downloading gradio_client-0.16.0-py3-none-any.whl (314 kB)\n",
121
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m314.4/314.4 kB\u001b[0m \u001b[31m35.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
122
+ "\u001b[?25hCollecting opencv-python==4.9.0.80 (from -r requirements.txt (line 3))\n",
123
+ " Downloading opencv_python-4.9.0.80-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (62.2 MB)\n",
124
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.2/62.2 MB\u001b[0m \u001b[31m10.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
125
+ "\u001b[?25hCollecting opencv-contrib-python==4.9.0.80 (from -r requirements.txt (line 4))\n",
126
+ " Downloading opencv_contrib_python-4.9.0.80-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (68.3 MB)\n",
127
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m68.3/68.3 MB\u001b[0m \u001b[31m8.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
128
+ "\u001b[?25hCollecting aiofiles<24.0,>=22.0 (from gradio==4.28.3->-r requirements.txt (line 1))\n",
129
+ " Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)\n",
130
+ "Requirement already satisfied: altair<6.0,>=4.2.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (4.2.2)\n",
131
+ "Collecting fastapi (from gradio==4.28.3->-r requirements.txt (line 1))\n",
132
+ " Downloading fastapi-0.111.0-py3-none-any.whl (91 kB)\n",
133
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m92.0/92.0 kB\u001b[0m \u001b[31m13.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
134
+ "\u001b[?25hCollecting ffmpy (from gradio==4.28.3->-r requirements.txt (line 1))\n",
135
+ " Downloading ffmpy-0.3.2.tar.gz (5.5 kB)\n",
136
+ " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
137
+ "Collecting httpx>=0.24.1 (from gradio==4.28.3->-r requirements.txt (line 1))\n",
138
+ " Downloading httpx-0.27.0-py3-none-any.whl (75 kB)\n",
139
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m75.6/75.6 kB\u001b[0m \u001b[31m11.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
140
+ "\u001b[?25hRequirement already satisfied: huggingface-hub>=0.19.3 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (0.20.3)\n",
141
+ "Requirement already satisfied: importlib-resources<7.0,>=1.3 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (6.4.0)\n",
142
+ "Requirement already satisfied: jinja2<4.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (3.1.4)\n",
143
+ "Requirement already satisfied: markupsafe~=2.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (2.1.5)\n",
144
+ "Requirement already satisfied: matplotlib~=3.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (3.7.1)\n",
145
+ "Requirement already satisfied: numpy~=1.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (1.25.2)\n",
146
+ "Collecting orjson~=3.0 (from gradio==4.28.3->-r requirements.txt (line 1))\n",
147
+ " Downloading orjson-3.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)\n",
148
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m142.5/142.5 kB\u001b[0m \u001b[31m20.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
149
+ "\u001b[?25hRequirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (24.0)\n",
150
+ "Requirement already satisfied: pandas<3.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (2.0.3)\n",
151
+ "Requirement already satisfied: pillow<11.0,>=8.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (9.4.0)\n",
152
+ "Requirement already satisfied: pydantic>=2.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (2.7.1)\n",
153
+ "Collecting pydub (from gradio==4.28.3->-r requirements.txt (line 1))\n",
154
+ " Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n",
155
+ "Collecting python-multipart>=0.0.9 (from gradio==4.28.3->-r requirements.txt (line 1))\n",
156
+ " Downloading python_multipart-0.0.9-py3-none-any.whl (22 kB)\n",
157
+ "Requirement already satisfied: pyyaml<7.0,>=5.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (6.0.1)\n",
158
+ "Collecting ruff>=0.2.2 (from gradio==4.28.3->-r requirements.txt (line 1))\n",
159
+ " Downloading ruff-0.4.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.7 MB)\n",
160
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m8.7/8.7 MB\u001b[0m \u001b[31m91.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
161
+ "\u001b[?25hCollecting semantic-version~=2.0 (from gradio==4.28.3->-r requirements.txt (line 1))\n",
162
+ " Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)\n",
163
+ "Collecting tomlkit==0.12.0 (from gradio==4.28.3->-r requirements.txt (line 1))\n",
164
+ " Downloading tomlkit-0.12.0-py3-none-any.whl (37 kB)\n",
165
+ "Collecting typer<1.0,>=0.12 (from gradio==4.28.3->-r requirements.txt (line 1))\n",
166
+ " Downloading typer-0.12.3-py3-none-any.whl (47 kB)\n",
167
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m47.2/47.2 kB\u001b[0m \u001b[31m6.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
168
+ "\u001b[?25hRequirement already satisfied: typing-extensions~=4.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (4.11.0)\n",
169
+ "Requirement already satisfied: urllib3~=2.0 in /usr/local/lib/python3.10/dist-packages (from gradio==4.28.3->-r requirements.txt (line 1)) (2.0.7)\n",
170
+ "Collecting uvicorn>=0.14.0 (from gradio==4.28.3->-r requirements.txt (line 1))\n",
171
+ " Downloading uvicorn-0.29.0-py3-none-any.whl (60 kB)\n",
172
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m60.8/60.8 kB\u001b[0m \u001b[31m8.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
173
+ "\u001b[?25hRequirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from gradio_client==0.16.0->-r requirements.txt (line 2)) (2023.6.0)\n",
174
+ "Collecting websockets<12.0,>=10.0 (from gradio_client==0.16.0->-r requirements.txt (line 2))\n",
175
+ " Downloading websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)\n",
176
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m129.9/129.9 kB\u001b[0m \u001b[31m19.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
177
+ "\u001b[?25hRequirement already satisfied: entrypoints in /usr/local/lib/python3.10/dist-packages (from altair<6.0,>=4.2.0->gradio==4.28.3->-r requirements.txt (line 1)) (0.4)\n",
178
+ "Requirement already satisfied: jsonschema>=3.0 in /usr/local/lib/python3.10/dist-packages (from altair<6.0,>=4.2.0->gradio==4.28.3->-r requirements.txt (line 1)) (4.19.2)\n",
179
+ "Requirement already satisfied: toolz in /usr/local/lib/python3.10/dist-packages (from altair<6.0,>=4.2.0->gradio==4.28.3->-r requirements.txt (line 1)) (0.12.1)\n",
180
+ "Requirement already satisfied: anyio in /usr/local/lib/python3.10/dist-packages (from httpx>=0.24.1->gradio==4.28.3->-r requirements.txt (line 1)) (3.7.1)\n",
181
+ "Requirement already satisfied: certifi in /usr/local/lib/python3.10/dist-packages (from httpx>=0.24.1->gradio==4.28.3->-r requirements.txt (line 1)) (2024.2.2)\n",
182
+ "Collecting httpcore==1.* (from httpx>=0.24.1->gradio==4.28.3->-r requirements.txt (line 1))\n",
183
+ " Downloading httpcore-1.0.5-py3-none-any.whl (77 kB)\n",
184
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m77.9/77.9 kB\u001b[0m \u001b[31m11.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
185
+ "\u001b[?25hRequirement already satisfied: idna in /usr/local/lib/python3.10/dist-packages (from httpx>=0.24.1->gradio==4.28.3->-r requirements.txt (line 1)) (3.7)\n",
186
+ "Requirement already satisfied: sniffio in /usr/local/lib/python3.10/dist-packages (from httpx>=0.24.1->gradio==4.28.3->-r requirements.txt (line 1)) (1.3.1)\n",
187
+ "Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx>=0.24.1->gradio==4.28.3->-r requirements.txt (line 1))\n",
188
+ " Downloading h11-0.14.0-py3-none-any.whl (58 kB)\n",
189
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m58.3/58.3 kB\u001b[0m \u001b[31m9.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
190
+ "\u001b[?25hRequirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.19.3->gradio==4.28.3->-r requirements.txt (line 1)) (3.14.0)\n",
191
+ "Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.19.3->gradio==4.28.3->-r requirements.txt (line 1)) (2.31.0)\n",
192
+ "Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.19.3->gradio==4.28.3->-r requirements.txt (line 1)) (4.66.4)\n",
193
+ "Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==4.28.3->-r requirements.txt (line 1)) (1.2.1)\n",
194
+ "Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==4.28.3->-r requirements.txt (line 1)) (0.12.1)\n",
195
+ "Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==4.28.3->-r requirements.txt (line 1)) (4.51.0)\n",
196
+ "Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==4.28.3->-r requirements.txt (line 1)) (1.4.5)\n",
197
+ "Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==4.28.3->-r requirements.txt (line 1)) (3.1.2)\n",
198
+ "Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==4.28.3->-r requirements.txt (line 1)) (2.8.2)\n",
199
+ "Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas<3.0,>=1.0->gradio==4.28.3->-r requirements.txt (line 1)) (2023.4)\n",
200
+ "Requirement already satisfied: tzdata>=2022.1 in /usr/local/lib/python3.10/dist-packages (from pandas<3.0,>=1.0->gradio==4.28.3->-r requirements.txt (line 1)) (2024.1)\n",
201
+ "Requirement already satisfied: annotated-types>=0.4.0 in /usr/local/lib/python3.10/dist-packages (from pydantic>=2.0->gradio==4.28.3->-r requirements.txt (line 1)) (0.6.0)\n",
202
+ "Requirement already satisfied: pydantic-core==2.18.2 in /usr/local/lib/python3.10/dist-packages (from pydantic>=2.0->gradio==4.28.3->-r requirements.txt (line 1)) (2.18.2)\n",
203
+ "Requirement already satisfied: click>=8.0.0 in /usr/local/lib/python3.10/dist-packages (from typer<1.0,>=0.12->gradio==4.28.3->-r requirements.txt (line 1)) (8.1.7)\n",
204
+ "Collecting shellingham>=1.3.0 (from typer<1.0,>=0.12->gradio==4.28.3->-r requirements.txt (line 1))\n",
205
+ " Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)\n",
206
+ "Requirement already satisfied: rich>=10.11.0 in /usr/local/lib/python3.10/dist-packages (from typer<1.0,>=0.12->gradio==4.28.3->-r requirements.txt (line 1)) (13.7.1)\n",
207
+ "Collecting starlette<0.38.0,>=0.37.2 (from fastapi->gradio==4.28.3->-r requirements.txt (line 1))\n",
208
+ " Downloading starlette-0.37.2-py3-none-any.whl (71 kB)\n",
209
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m71.9/71.9 kB\u001b[0m \u001b[31m10.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
210
+ "\u001b[?25hCollecting fastapi-cli>=0.0.2 (from fastapi->gradio==4.28.3->-r requirements.txt (line 1))\n",
211
+ " Downloading fastapi_cli-0.0.3-py3-none-any.whl (9.2 kB)\n",
212
+ "Collecting ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,>=4.0.1 (from fastapi->gradio==4.28.3->-r requirements.txt (line 1))\n",
213
+ " Downloading ujson-5.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (53 kB)\n",
214
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m53.2/53.2 kB\u001b[0m \u001b[31m8.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
215
+ "\u001b[?25hCollecting email_validator>=2.0.0 (from fastapi->gradio==4.28.3->-r requirements.txt (line 1))\n",
216
+ " Downloading email_validator-2.1.1-py3-none-any.whl (30 kB)\n",
217
+ "Collecting dnspython>=2.0.0 (from email_validator>=2.0.0->fastapi->gradio==4.28.3->-r requirements.txt (line 1))\n",
218
+ " Downloading dnspython-2.6.1-py3-none-any.whl (307 kB)\n",
219
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m307.7/307.7 kB\u001b[0m \u001b[31m33.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
220
+ "\u001b[?25hRequirement already satisfied: attrs>=22.2.0 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.28.3->-r requirements.txt (line 1)) (23.2.0)\n",
221
+ "Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.28.3->-r requirements.txt (line 1)) (2023.12.1)\n",
222
+ "Requirement already satisfied: referencing>=0.28.4 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.28.3->-r requirements.txt (line 1)) (0.35.1)\n",
223
+ "Requirement already satisfied: rpds-py>=0.7.1 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.28.3->-r requirements.txt (line 1)) (0.18.1)\n",
224
+ "Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib~=3.0->gradio==4.28.3->-r requirements.txt (line 1)) (1.16.0)\n",
225
+ "Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.10/dist-packages (from rich>=10.11.0->typer<1.0,>=0.12->gradio==4.28.3->-r requirements.txt (line 1)) (3.0.0)\n",
226
+ "Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.10/dist-packages (from rich>=10.11.0->typer<1.0,>=0.12->gradio==4.28.3->-r requirements.txt (line 1)) (2.16.1)\n",
227
+ "Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio->httpx>=0.24.1->gradio==4.28.3->-r requirements.txt (line 1)) (1.2.1)\n",
228
+ "Collecting httptools>=0.5.0 (from uvicorn>=0.14.0->gradio==4.28.3->-r requirements.txt (line 1))\n",
229
+ " Downloading httptools-0.6.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (341 kB)\n",
230
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m341.4/341.4 kB\u001b[0m \u001b[31m41.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
231
+ "\u001b[?25hCollecting python-dotenv>=0.13 (from uvicorn>=0.14.0->gradio==4.28.3->-r requirements.txt (line 1))\n",
232
+ " Downloading python_dotenv-1.0.1-py3-none-any.whl (19 kB)\n",
233
+ "Collecting uvloop!=0.15.0,!=0.15.1,>=0.14.0 (from uvicorn>=0.14.0->gradio==4.28.3->-r requirements.txt (line 1))\n",
234
+ " Downloading uvloop-0.19.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)\n",
235
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.4/3.4 MB\u001b[0m \u001b[31m90.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
236
+ "\u001b[?25hCollecting watchfiles>=0.13 (from uvicorn>=0.14.0->gradio==4.28.3->-r requirements.txt (line 1))\n",
237
+ " Downloading watchfiles-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n",
238
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m52.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
239
+ "\u001b[?25hRequirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface-hub>=0.19.3->gradio==4.28.3->-r requirements.txt (line 1)) (3.3.2)\n",
240
+ "Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.10/dist-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.12->gradio==4.28.3->-r requirements.txt (line 1)) (0.1.2)\n",
241
+ "Building wheels for collected packages: ffmpy\n",
242
+ " Building wheel for ffmpy (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
243
+ " Created wheel for ffmpy: filename=ffmpy-0.3.2-py3-none-any.whl size=5584 sha256=abf21335db44f3a266103357a34c5cb3e48ec207ec296943ed61712c11f69b0f\n",
244
+ " Stored in directory: /root/.cache/pip/wheels/bd/65/9a/671fc6dcde07d4418df0c592f8df512b26d7a0029c2a23dd81\n",
245
+ "Successfully built ffmpy\n",
246
+ "Installing collected packages: pydub, ffmpy, websockets, uvloop, ujson, tomlkit, shellingham, semantic-version, ruff, python-multipart, python-dotenv, orjson, opencv-python, opencv-contrib-python, httptools, h11, dnspython, aiofiles, watchfiles, uvicorn, starlette, httpcore, email_validator, typer, httpx, gradio_client, fastapi-cli, fastapi, gradio\n",
247
+ " Attempting uninstall: opencv-python\n",
248
+ " Found existing installation: opencv-python 4.8.0.76\n",
249
+ " Uninstalling opencv-python-4.8.0.76:\n",
250
+ " Successfully uninstalled opencv-python-4.8.0.76\n",
251
+ " Attempting uninstall: opencv-contrib-python\n",
252
+ " Found existing installation: opencv-contrib-python 4.8.0.76\n",
253
+ " Uninstalling opencv-contrib-python-4.8.0.76:\n",
254
+ " Successfully uninstalled opencv-contrib-python-4.8.0.76\n",
255
+ " Attempting uninstall: typer\n",
256
+ " Found existing installation: typer 0.9.4\n",
257
+ " Uninstalling typer-0.9.4:\n",
258
+ " Successfully uninstalled typer-0.9.4\n",
259
+ "\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
260
+ "spacy 3.7.4 requires typer<0.10.0,>=0.3.0, but you have typer 0.12.3 which is incompatible.\n",
261
+ "weasel 0.3.4 requires typer<0.10.0,>=0.3.0, but you have typer 0.12.3 which is incompatible.\u001b[0m\u001b[31m\n",
262
+ "\u001b[0mSuccessfully installed aiofiles-23.2.1 dnspython-2.6.1 email_validator-2.1.1 fastapi-0.111.0 fastapi-cli-0.0.3 ffmpy-0.3.2 gradio-4.28.3 gradio_client-0.16.0 h11-0.14.0 httpcore-1.0.5 httptools-0.6.1 httpx-0.27.0 opencv-contrib-python-4.9.0.80 opencv-python-4.9.0.80 orjson-3.10.3 pydub-0.25.1 python-dotenv-1.0.1 python-multipart-0.0.9 ruff-0.4.4 semantic-version-2.10.0 shellingham-1.5.4 starlette-0.37.2 tomlkit-0.12.0 typer-0.12.3 ujson-5.9.0 uvicorn-0.29.0 uvloop-0.19.0 watchfiles-0.21.0 websockets-11.0.3\n"
263
  ]
264
  }
265
  ],
 
286
  "base_uri": "https://localhost:8080/"
287
  },
288
  "id": "J3kKmi6Rd95n",
289
+ "outputId": "d06135be-5c00-4b68-abba-6606f415ccce"
290
  },
291
+ "execution_count": 5,
292
  "outputs": [
293
  {
294
  "output_type": "stream",
295
  "name": "stdout",
296
  "text": [
297
+ "2024-05-11 12:13:31,862#アプリ起動中\n",
298
+ "2024-05-11 12:13:36,775#アプリ起動完了(4.912s)\n",
299
+ "Running on local URL: http://127.0.0.1:9999\n",
300
+ "Running on public URL: https://90361c40461e1540a1.gradio.live\n",
301
+ "\n",
302
+ "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n",
303
+ "Keyboard interruption in main thread... closing server.\n",
304
+ "Killing tunnel 127.0.0.1:9999 <> https://90361c40461e1540a1.gradio.live\n"
305
  ]
306
  }
307
  ]