diff --git a/SOFT_VC_FAST_API.ipynb b/SOFT_VC_FAST_API.ipynb new file mode 100644 index 00000000..72249f89 --- /dev/null +++ b/SOFT_VC_FAST_API.ipynb @@ -0,0 +1,1413 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "id": "view-in-github", + "colab_type": "text" + }, + "source": [ + "\"Open" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "id": "5m_Xf_2NY6mI" + }, + "outputs": [], + "source": [ + "import torch, torchaudio\n", + "import IPython.display as display" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "id": "GGiC0rT2hoik", + "colab": { + "base_uri": "https://localhost:8080/" + }, + "outputId": "385002ae-9694-4524-cf46-d8cf650e7352" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", + "Collecting fastapi\n", + " Downloading fastapi-0.85.0-py3-none-any.whl (55 kB)\n", + "\u001b[K |████████████████████████████████| 55 kB 3.2 MB/s \n", + "\u001b[?25hCollecting starlette==0.20.4\n", + " Downloading starlette-0.20.4-py3-none-any.whl (63 kB)\n", + "\u001b[K |████████████████████████████████| 63 kB 2.7 MB/s \n", + "\u001b[?25hRequirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /usr/local/lib/python3.7/dist-packages (from fastapi) (1.9.2)\n", + "Collecting anyio<5,>=3.4.0\n", + " Downloading anyio-3.6.1-py3-none-any.whl (80 kB)\n", + "\u001b[K |████████████████████████████████| 80 kB 10.4 MB/s \n", + "\u001b[?25hRequirement already satisfied: typing-extensions>=3.10.0 in /usr/local/lib/python3.7/dist-packages (from starlette==0.20.4->fastapi) (4.1.1)\n", + "Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.7/dist-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (2.10)\n", + "Collecting sniffio>=1.1\n", + " Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)\n", + "Installing collected packages: sniffio, anyio, starlette, fastapi\n", + "Successfully installed anyio-3.6.1 fastapi-0.85.0 sniffio-1.3.0 starlette-0.20.4\n", + "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", + "Collecting uvicorn\n", + " Downloading uvicorn-0.18.3-py3-none-any.whl (57 kB)\n", + "\u001b[K |████████████████████████████████| 57 kB 3.7 MB/s \n", + "\u001b[?25hRequirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from uvicorn) (4.1.1)\n", + "Collecting h11>=0.8\n", + " Downloading h11-0.13.0-py3-none-any.whl (58 kB)\n", + "\u001b[K |████████████████████████████████| 58 kB 6.9 MB/s \n", + "\u001b[?25hRequirement already satisfied: click>=7.0 in /usr/local/lib/python3.7/dist-packages (from uvicorn) (7.1.2)\n", + "Installing collected packages: h11, uvicorn\n", + "Successfully installed h11-0.13.0 uvicorn-0.18.3\n" + ] + } + ], + "source": [ + "!pip install fastapi\n", + "!pip install uvicorn" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "id": "WO8XzrFMZGoj", + "colab": { + "base_uri": "https://localhost:8080/", + "height": 324, + "referenced_widgets": [ + "59130a24d78442fab37f308ec40c6ec1", + "7de0337681804ad5b2cb6eec63640da5", + "3d5bfdb058d1434a94a707535dd064d3", + "f52ca324950241c5b4cdc2ffdb16adf5", + "103df4895b5e4cb7bb3ee13d1bbae0c8", + "f61224d1ffe94c269933bd3ea9426191", + "8e3d4ea821ec49bda506f9d5c6f32f65", + "1755b3b74ad94ebba43065d3b2ea11ff", + "d603a317013447ff905bb9cddfb89c3c", + "3cda3959374f425794d30f8607e54935", + "22b4867a12854b349c83fdfc23828306", + "77d92a8b06244f349c9429ce0d6b5646", + "a3e565771b654f04b7fa7d17eff4498a", + "d1c5249aba734a27b9cf97090875a755", + "2796ff89616547d48b0274a10d19de42", + "1ecce93dbc824c7d93693c3d1ba3be1e", + "17f29a1b667a41ecb4960911662c5ba8", + "0e68580417254be7b3026ccfcf3966fa", + "4d5c0625a5ff4568a1f0f7dd980ccbd1", + "720428035a66479f84cd6e98c10aa7a6", + "bfb4fd8960e14c46826b2da3601b3855", + "be83a450500047649c83a91774c30144", + "5cd60b05ba72413a802b6d11577caec9", + "5e510a0ad68f40df839df000359e4289", + "403f28bec1bd4d53a269e222d7bdea0a", + "55a1c151ccf34282ad1850d97478a303", + "58007eecdc7f4889a90ec47f07523dae", + "04723c372431499a9adcd004d3f8d43c", + "644baefa63c8441d9cdaf1cddc6a592c", + "20b3545c4cec485e8d3344dacd15050d", + "6d63907f4d6c48568a9bacaae0fb13ca", + "82edeb585559410fa596270063d071ae", + "8010dbdad97b48568beff61af1230785" + ] + }, + "outputId": "fc8a57f8-08dc-43f2-9991-1cc6e5155c42" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stderr", + "text": [ + "/usr/local/lib/python3.7/dist-packages/torch/hub.py:267: UserWarning: You are about to download and run code from an untrusted repository. In a future release, this won't be allowed. To add the repository to your trusted list, change the command to {calling_fn}(..., trust_repo=False) and a command prompt will appear asking for an explicit confirmation of trust, or load(..., trust_repo=True), which will assume that the prompt is to be answered with 'yes'. You can also use load(..., trust_repo='check') which will only prompt for confirmation if the repo is not already trusted. This will eventually be the default behaviour\n", + " \"You are about to download and run code from an untrusted repository. In a future release, this won't \"\n", + "Downloading: \"https://github.com/bshall/hubert/zipball/main\" to /root/.cache/torch/hub/main.zip\n", + "Downloading: \"https://github.com/bshall/hubert/releases/download/v0.1/hubert-soft-0d54a1f4.pt\" to /root/.cache/torch/hub/checkpoints/hubert-soft-0d54a1f4.pt\n" + ] + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + " 0%| | 0.00/361M [00:00foo 2>&1 &')" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "IiWSwDjQidc7", + "outputId": "c16aacfc-3673-4ffa-9721-f1d4cb143cba" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "INFO: Will watch for changes in these directories: ['/content']\n", + "INFO: Uvicorn running on http://0.0.0.0:8092 (Press CTRL+C to quit)\n", + "INFO: Started reloader process [192] using StatReload\n", + "Removing weight norm...\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "INFO: Started server process [202]\n", + "INFO: Waiting for application startup.\n", + "INFO: Application startup complete.\n", + "Removing weight norm...\n", + "Removing weight norm...\n", + "INFO: 127.0.0.1:38464 - \"GET / HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59848 - \"GET /index.js HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59856 - \"GET /assets/setting.json HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59872 - \"GET /coffee.png HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59886 - \"GET /favicon.ico HTTP/1.1\" 404 Not Found\n", + "INFO: 127.0.0.1:59892 - \"GET /assets/icons/flect.png HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59906 - \"GET /assets/vrm/zundamon/zundamon.vrm HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59910 - \"GET /assets/tflite-simd.wasm1f6a0e789251efcdaa4d HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59920 - \"GET /assets/face_detection_short_range.binc083ebee6df759da467d HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59922 - \"GET /assets/palm_detection_lite.binba92fbef448d5b4334bc HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59938 - \"GET /assets/model_float16_quant.bin33ee0cfa3b13c82ace2a HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59942 - \"GET /assets/images/bg_natural_sougen.jpg HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59944 - \"GET /assets/hand_landmark_lite.bin037c09b22c066e04d3ff HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59954 - \"GET /assets/pose_landmark_lite.bin80f1d546bddf782578f3 HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:59956 - \"GET /assets/pose_detection.bin5f6876fde03ed33ebc9a HTTP/1.1\" 200 OK\n", + "/usr/local/lib/python3.7/dist-packages/torchaudio/functional/functional.py:540: UserWarning: At least one mel filterbank has all zero values. The value for `n_mels` (128) may be set too high. Or, the value for `n_freqs` (201) may be set too low.\n", + " \"At least one mel filterbank has all zero values. \"\n", + "INFO: prepro:0.13489079475402832, softvc:3.5477583408355713, postpro:0.054923057556152344 \n", + "INFO: prepros:0.0002541542053222656, 0.002245187759399414, 0.00030684471130371094, 0.0040721893310546875, 0.12777447700500488, 0.00023794174194335938, \n", + "INFO: prexxxxxxxxxxxxxxx:2.1457672119140625e-06, prepros:7.152557373046875e-07, prepros:4.76837158203125e-07, \n", + "POST REQUEST PROCESSING....\n", + "INFO: 127.0.0.1:55830 - \"POST /test HTTP/1.1\" 200 OK\n" + ] + } + ], + "source": [ + "# (6-2) サーバの起動確認 (Ctrl+Retで実行)\n", + "!cat foo" + ] + }, + { + "cell_type": "code", + "source": [ + "from google.colab.output import eval_js\n", + "proxy = eval_js( \"google.colab.kernel.proxyPort(\" + str(PORT) + \")\" )\n", + "print(f\"{proxy}front/\")" + ], + "metadata": { + "id": "H8EpnHqDjknR", + "outputId": "36d48855-fbb7-4514-d386-e15755be3df9", + "colab": { + "base_uri": "https://localhost:8080/", + "height": 34 + } + }, + "execution_count": 13, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "https://qakmhnfzna9-496ff2e9c6d22116-8092-colab.googleusercontent.com/front/\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "0XQDeuYijm3Y" + }, + "execution_count": null, + "outputs": [] + } + ], + "metadata": { + "accelerator": "GPU", + "colab": { + "collapsed_sections": [], + "provenance": [], + "authorship_tag": "ABX9TyO82DgowZLSXg7p0qKN6GHb", + "include_colab_link": true + }, + "gpuClass": "standard", + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "language_info": { + "name": "python" + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "59130a24d78442fab37f308ec40c6ec1": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_7de0337681804ad5b2cb6eec63640da5", + "IPY_MODEL_3d5bfdb058d1434a94a707535dd064d3", + "IPY_MODEL_f52ca324950241c5b4cdc2ffdb16adf5" + ], + "layout": "IPY_MODEL_103df4895b5e4cb7bb3ee13d1bbae0c8" + } + }, + "7de0337681804ad5b2cb6eec63640da5": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_f61224d1ffe94c269933bd3ea9426191", + "placeholder": "​", + "style": "IPY_MODEL_8e3d4ea821ec49bda506f9d5c6f32f65", + "value": "100%" + } + }, + "3d5bfdb058d1434a94a707535dd064d3": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_1755b3b74ad94ebba43065d3b2ea11ff", + "max": 378435957, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_d603a317013447ff905bb9cddfb89c3c", + "value": 378435957 + } + }, + "f52ca324950241c5b4cdc2ffdb16adf5": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_3cda3959374f425794d30f8607e54935", + "placeholder": "​", + "style": "IPY_MODEL_22b4867a12854b349c83fdfc23828306", + "value": " 361M/361M [00:42<00:00, 11.6MB/s]" + } + }, + "103df4895b5e4cb7bb3ee13d1bbae0c8": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "f61224d1ffe94c269933bd3ea9426191": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "8e3d4ea821ec49bda506f9d5c6f32f65": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "1755b3b74ad94ebba43065d3b2ea11ff": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "d603a317013447ff905bb9cddfb89c3c": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "" + } + }, + "3cda3959374f425794d30f8607e54935": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "22b4867a12854b349c83fdfc23828306": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "77d92a8b06244f349c9429ce0d6b5646": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_a3e565771b654f04b7fa7d17eff4498a", + "IPY_MODEL_d1c5249aba734a27b9cf97090875a755", + "IPY_MODEL_2796ff89616547d48b0274a10d19de42" + ], + "layout": "IPY_MODEL_1ecce93dbc824c7d93693c3d1ba3be1e" + } + }, + "a3e565771b654f04b7fa7d17eff4498a": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_17f29a1b667a41ecb4960911662c5ba8", + "placeholder": "​", + "style": "IPY_MODEL_0e68580417254be7b3026ccfcf3966fa", + "value": "100%" + } + }, + "d1c5249aba734a27b9cf97090875a755": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_4d5c0625a5ff4568a1f0f7dd980ccbd1", + "max": 75329769, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_720428035a66479f84cd6e98c10aa7a6", + "value": 75329769 + } + }, + "2796ff89616547d48b0274a10d19de42": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_bfb4fd8960e14c46826b2da3601b3855", + "placeholder": "​", + "style": "IPY_MODEL_be83a450500047649c83a91774c30144", + "value": " 71.8M/71.8M [00:02<00:00, 33.1MB/s]" + } + }, + "1ecce93dbc824c7d93693c3d1ba3be1e": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "17f29a1b667a41ecb4960911662c5ba8": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "0e68580417254be7b3026ccfcf3966fa": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "4d5c0625a5ff4568a1f0f7dd980ccbd1": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "720428035a66479f84cd6e98c10aa7a6": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "" + } + }, + "bfb4fd8960e14c46826b2da3601b3855": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "be83a450500047649c83a91774c30144": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "5cd60b05ba72413a802b6d11577caec9": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_5e510a0ad68f40df839df000359e4289", + "IPY_MODEL_403f28bec1bd4d53a269e222d7bdea0a", + "IPY_MODEL_55a1c151ccf34282ad1850d97478a303" + ], + "layout": "IPY_MODEL_58007eecdc7f4889a90ec47f07523dae" + } + }, + "5e510a0ad68f40df839df000359e4289": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_04723c372431499a9adcd004d3f8d43c", + "placeholder": "​", + "style": "IPY_MODEL_644baefa63c8441d9cdaf1cddc6a592c", + "value": "100%" + } + }, + "403f28bec1bd4d53a269e222d7bdea0a": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_20b3545c4cec485e8d3344dacd15050d", + "max": 57562349, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_6d63907f4d6c48568a9bacaae0fb13ca", + "value": 57562349 + } + }, + "55a1c151ccf34282ad1850d97478a303": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_82edeb585559410fa596270063d071ae", + "placeholder": "​", + "style": "IPY_MODEL_8010dbdad97b48568beff61af1230785", + "value": " 54.9M/54.9M [00:01<00:00, 30.4MB/s]" + } + }, + "58007eecdc7f4889a90ec47f07523dae": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "04723c372431499a9adcd004d3f8d43c": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "644baefa63c8441d9cdaf1cddc6a592c": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "20b3545c4cec485e8d3344dacd15050d": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "6d63907f4d6c48568a9bacaae0fb13ca": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "" + } + }, + "82edeb585559410fa596270063d071ae": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "8010dbdad97b48568beff61af1230785": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + } + } + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} \ No newline at end of file diff --git a/SOFT_VC_FLASK.ipynb b/SOFT_VC_FLASK.ipynb index f3d5c789..aff5a893 100644 --- a/SOFT_VC_FLASK.ipynb +++ b/SOFT_VC_FLASK.ipynb @@ -12,7 +12,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": { "id": "5m_Xf_2NY6mI" }, @@ -25,168 +25,208 @@ }, { "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "GGiC0rT2hoik" - }, - "outputs": [], - "source": [ - "!apt-get install -y espeak libsndfile1-dev\n", - "!pip install flask\n", - "!pip install python-socketio\n", - "!pip install eventlet\n", - "!pip install unidecode\n", - "!pip install phonemizer\n", - "!pip install retry\n", - "!pip install flask\n", - "!pip install flask_cors" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "WO8XzrFMZGoj" - }, - "outputs": [], - "source": [ - "# hubert = torch.hub.load(\"bshall/hubert:main\", \"hubert_soft\").cuda()\n", - "# acoustic = torch.hub.load(\"bshall/acoustic-model:main\", \"hubert_soft\").cuda()\n", - "# hifigan = torch.hub.load(\"bshall/hifigan:main\", \"hifigan_hubert_soft\").cuda()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "v7xM7CnEZMTL" - }, - "outputs": [], - "source": [ - "# with open(\"example.wav\", \"wb\") as file:\n", - "# response = requests.get(\"https://drive.google.com/uc?export=preview&id=1Y3KuPAhB5VcsmIaokBVKu3LUEZOfhSu8\")\n", - "# file.write(response.content)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "UZox3YDVZOya" - }, - "outputs": [], - "source": [ - "# source, sr = torchaudio.load(\"emotion059.wav\")\n", - "# source = torchaudio.functional.resample(source, sr, 16000)\n", - "# source = source.unsqueeze(0).cuda()" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "dEZ9_zCKnXpZ" - }, - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "DSAA2CMfZY7C" - }, - "outputs": [], - "source": [ - "# with torch.inference_mode():\n", - "# # Extract speech units\n", - "# units = hubert.units(source)\n", - "# # Generate target spectrogram\n", - "# mel = acoustic.generate(units).transpose(1, 2)\n", - "# # Generate audio waveform\n", - "# target = hifigan(mel)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "VCwjKdIUZZoi" - }, - "outputs": [], - "source": [ - "# display.Audio(target.squeeze().cpu(), rate=16000)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "vjJs35ifZbSK" - }, - "outputs": [], - "source": [ - "# data = target.squeeze().cpu()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "0SuFlButeKXG" - }, - "outputs": [], - "source": [ - "# display.Audio(data, rate=16000)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "vFwF5Uh0eMLV" - }, - "outputs": [], - "source": [ - "# dest = torchaudio.functional.resample(target, 16000,24000)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "eIWedhF6ebuV" - }, - "outputs": [], - "source": [ - "# display.Audio(dest.squeeze().cpu(), rate=24000)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "XkCO-j9teccu" - }, - "outputs": [], - "source": [ - "# dest" - ] - }, - { - "cell_type": "code", - "execution_count": 41, + "execution_count": 6, "metadata": { + "id": "GGiC0rT2hoik", "colab": { "base_uri": "https://localhost:8080/" }, - "id": "lzo_ZWmAjaby", - "outputId": "ed0af7dc-1614-4d28-e9b4-b3a600cafd88" + "outputId": "37af24c7-2f22-46b5-af7c-e5487816abd0" }, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ - "fatal: destination path 'voice-changer' already exists and is not an empty directory.\n", + "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", + "Collecting fastapi\n", + " Downloading fastapi-0.85.0-py3-none-any.whl (55 kB)\n", + "\u001b[K |████████████████████████████████| 55 kB 3.7 MB/s \n", + "\u001b[?25hRequirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /usr/local/lib/python3.7/dist-packages (from fastapi) (1.9.2)\n", + "Collecting starlette==0.20.4\n", + " Downloading starlette-0.20.4-py3-none-any.whl (63 kB)\n", + "\u001b[K |████████████████████████████████| 63 kB 2.8 MB/s \n", + "\u001b[?25hCollecting anyio<5,>=3.4.0\n", + " Downloading anyio-3.6.1-py3-none-any.whl (80 kB)\n", + "\u001b[K |████████████████████████████████| 80 kB 10.5 MB/s \n", + "\u001b[?25hRequirement already satisfied: typing-extensions>=3.10.0 in /usr/local/lib/python3.7/dist-packages (from starlette==0.20.4->fastapi) (4.1.1)\n", + "Collecting sniffio>=1.1\n", + " Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)\n", + "Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.7/dist-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (2.10)\n", + "Installing collected packages: sniffio, anyio, starlette, fastapi\n", + "Successfully installed anyio-3.6.1 fastapi-0.85.0 sniffio-1.3.0 starlette-0.20.4\n", + "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", + "Collecting uvicorn\n", + " Downloading uvicorn-0.18.3-py3-none-any.whl (57 kB)\n", + "\u001b[K |████████████████████████████████| 57 kB 5.3 MB/s \n", + "\u001b[?25hCollecting h11>=0.8\n", + " Downloading h11-0.13.0-py3-none-any.whl (58 kB)\n", + "\u001b[K |████████████████████████████████| 58 kB 6.6 MB/s \n", + "\u001b[?25hRequirement already satisfied: click>=7.0 in /usr/local/lib/python3.7/dist-packages (from uvicorn) (7.1.2)\n", + "Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from uvicorn) (4.1.1)\n", + "Installing collected packages: h11, uvicorn\n", + "Successfully installed h11-0.13.0 uvicorn-0.18.3\n" + ] + } + ], + "source": [ + "!pip install fastapi\n", + "!pip install uvicorn\n" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "id": "WO8XzrFMZGoj", + "colab": { + "base_uri": "https://localhost:8080/", + "height": 324, + "referenced_widgets": [ + "1fb6c0e3138f4b488bb34e37146ff37d", + "54917384fe31484c819d5a8553026da4", + "cbf282697ea84126bab4449e9f03446b", + "c52a3c133bcb432cad237073f5aab054", + "4ecce5ec14504bbc9aed0f47923ccfb6", + "582c624f0437497ca264a1e5cd2fcb5f", + "607a419839644cbc837faee0cf085d1c", + "7932c1cff373439a8a8eb1f003cf8c4b", + "548c4156f681472493a8af30af129e3c", + "86394b2dfdc04a1db206c34710abde8f", + "98f9877b91024110a0845bcad5aa9373", + "a8f2eeaf998d4931b0a393874b1dab47", + "57976d7425c74a6ba59fc8690c71556f", + "41b7d72ce3164b79ad0206cf9372e35c", + "88580af9b2e24861824c3a699be36b57", + "87080b573d3841d9847db312969c20d2", + "96552e354a024d0caee5420e43097791", + "a6de0a8cc9744b38b672d4f95a6b6435", + "0712aeb95eaf4c5fb02abb7f6b34d232", + "4a69c62156f74ca4bc3e5a0415ab1606", + "035468979725405bbc64a007325432e8", + "88457d91184a40daa2d90c6ef8d05ff8", + "136e831d42c74b3790488c8916628b1b", + "5368bc852ae241039e85f45ddf4d3700", + "c4d9c5c9097e4fd4882b05dec71c826b", + "d6f2bf9acb7941cc94712b8f66cc9d09", + "3f3a1d0685694ff3b2c3d7b111c1d59b", + "d381d89f351544369a3f1744f69a62b8", + "de05063b4f75466fadc672c2a9c085e1", + "18dde4dbce394d43a7f6e2e6657136bd", + "bee40572e9d440f6bf8ce945a599dc92", + "8593cbf5e07d46038a8fe307adc34984", + "730f342e75244fba90d5fc32c9acc2e6" + ] + }, + "outputId": "f5836b09-bc6d-4914-bf71-583f4aa531b4" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stderr", + "text": [ + "/usr/local/lib/python3.7/dist-packages/torch/hub.py:267: UserWarning: You are about to download and run code from an untrusted repository. In a future release, this won't be allowed. To add the repository to your trusted list, change the command to {calling_fn}(..., trust_repo=False) and a command prompt will appear asking for an explicit confirmation of trust, or load(..., trust_repo=True), which will assume that the prompt is to be answered with 'yes'. You can also use load(..., trust_repo='check') which will only prompt for confirmation if the repo is not already trusted. This will eventually be the default behaviour\n", + " \"You are about to download and run code from an untrusted repository. In a future release, this won't \"\n", + "Downloading: \"https://github.com/bshall/hubert/zipball/main\" to /root/.cache/torch/hub/main.zip\n", + "Downloading: \"https://github.com/bshall/hubert/releases/download/v0.1/hubert-soft-0d54a1f4.pt\" to /root/.cache/torch/hub/checkpoints/hubert-soft-0d54a1f4.pt\n" + ] + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + " 0%| | 0.00/361M [00:00foo 2>&1 &')" + "PORT=8092\n", + "get_ipython().system_raw(f'python3 SoftVcServerFastAPI.py {PORT} >foo 2>&1 &')" ] }, { "cell_type": "code", - "execution_count": 54, + "execution_count": 37, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "IiWSwDjQidc7", - "outputId": "2bb83f5f-965c-4b54-ac6c-7fd407daa5dc" + "outputId": "46ac3638-9525-4b7c-9139-bd43ffad87b5" }, "outputs": [ { @@ -241,16 +281,138 @@ "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", - "[2022-09-14 06:41:12,893] INFO in serverFlask: INITIALIZE MODEL\n", - "[2022-09-14 06:41:12,893] INFO in serverFlask: START APP\n", + "INFO: Will watch for changes in these directories: ['/content']\n", + "INFO: Uvicorn running on http://0.0.0.0:8092 (Press CTRL+C to quit)\n", + "INFO: Started reloader process [301] using StatReload\n", "Removing weight norm...\n", - " * Serving Flask app \"serverFlask\" (lazy loading)\n", - " * Environment: production\n", - " WARNING: This is a development server. Do not use it in a production deployment.\n", - " Use a production WSGI server instead.\n", - " * Debug mode: on\n", - "[2022-09-14 06:41:12,902] INFO in _internal: * Running on http://0.0.0.0:8087/ (Press CTRL+C to quit)\n", - "[2022-09-14 06:41:12,903] INFO in _internal: * Restarting with stat\n" + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "INFO: Started server process [311]\n", + "INFO: Waiting for application startup.\n", + "INFO: Application startup complete.\n", + "Removing weight norm...\n", + "Removing weight norm...\n", + "INFO: 127.0.0.1:38374 - \"GET / HTTP/1.1\" 404 Not Found\n", + "INFO: 127.0.0.1:38118 - \"GET / HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:38120 - \"GET /index.js HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:38086 - \"GET /assets/setting.json HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:38094 - \"GET /coffee.png HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45478 - \"GET /assets/icons/flect.png HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45492 - \"GET /assets/vrm/zundamon/zundamon.vrm HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45502 - \"GET /assets/tflite-simd.wasm1f6a0e789251efcdaa4d HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45504 - \"GET /assets/palm_detection_lite.binba92fbef448d5b4334bc HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45518 - \"GET /assets/hand_landmark_lite.bin037c09b22c066e04d3ff HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45532 - \"GET /assets/pose_detection.bin5f6876fde03ed33ebc9a HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45534 - \"GET /assets/images/bg_natural_sougen.jpg HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45536 - \"GET /assets/face_detection_short_range.binc083ebee6df759da467d HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45540 - \"GET /assets/pose_landmark_lite.bin80f1d546bddf782578f3 HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45546 - \"GET /assets/model_float16_quant.bin33ee0cfa3b13c82ace2a HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:45552 - \"GET / HTTP/1.1\" 200 OK\n", + "INFO: 127.0.0.1:54030 - \"POST /test HTTP/1.1\" 405 Method Not Allowed\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "INFO: Shutting down\n", + "INFO: Waiting for application shutdown.\n", + "INFO: Application shutdown complete.\n", + "INFO: Finished server process [311]\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "INFO: Started server process [345]\n", + "INFO: Waiting for application startup.\n", + "INFO: Application startup complete.\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "INFO: Shutting down\n", + "INFO: Waiting for application shutdown.\n", + "INFO: Application shutdown complete.\n", + "INFO: Finished server process [345]\n", + "Removing weight norm...\n", + "Removing weight norm...\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "INFO: Started server process [356]\n", + "INFO: Waiting for application startup.\n", + "INFO: Application startup complete.\n", + "Removing weight norm...\n", + "Removing weight norm...\n", + "INFO: 127.0.0.1:56660 - \"POST /test HTTP/1.1\" 405 Method Not Allowed\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "INFO: Shutting down\n", + "INFO: Waiting for application shutdown.\n", + "INFO: Application shutdown complete.\n", + "INFO: Finished server process [356]\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "INFO: Started server process [366]\n", + "INFO: Waiting for application startup.\n", + "INFO: Application startup complete.\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "INFO: Shutting down\n", + "INFO: Waiting for application shutdown.\n", + "INFO: Application shutdown complete.\n", + "INFO: Finished server process [366]\n", + "Removing weight norm...\n", + "Removing weight norm...\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hubert_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_acoustic-model_main\n", + "Using cache found in /root/.cache/torch/hub/bshall_hifigan_main\n", + "INFO: Started server process [402]\n", + "INFO: Waiting for application startup.\n", + "INFO: Application startup complete.\n", + "Removing weight norm...\n", + "Removing weight norm...\n", + "INFO: 127.0.0.1:32880 - \"POST /front/test HTTP/1.1\" 404 Not Found\n", + "INFO: 127.0.0.1:49254 - \"POST /front/test HTTP/1.1\" 404 Not Found\n", + "/usr/local/lib/python3.7/dist-packages/torchaudio/functional/functional.py:540: UserWarning: At least one mel filterbank has all zero values. The value for `n_mels` (128) may be set too high. Or, the value for `n_freqs` (201) may be set too low.\n", + " \"At least one mel filterbank has all zero values. \"\n", + "INFO: prepro:0.15424752235412598, softvc:3.7410171031951904, postpro:0.060701847076416016 \n", + "INFO: prepros:0.00015926361083984375, 0.0014684200286865234, 0.0002689361572265625, 0.004341840744018555, 0.14786338806152344, 0.0001456737518310547, \n", + "INFO: prexxxxxxxxxxxxxxx:1.6689300537109375e-06, prepros:4.76837158203125e-07, prepros:4.76837158203125e-07, \n", + "POST REQUEST PROCESSING....\n", + "INFO: 127.0.0.1:59618 - \"POST /test HTTP/1.1\" 200 OK\n", + "INFO: prepro:0.005713939666748047, softvc:0.1370687484741211, postpro:0.006365537643432617 \n", + "INFO: prepros:0.00034618377685546875, 0.002839803695678711, 0.00032806396484375, 0.0006778240203857422, 0.0013592243194580078, 0.0001628398895263672, \n", + "INFO: prexxxxxxxxxxxxxxx:1.6689300537109375e-06, prepros:4.76837158203125e-07, prepros:2.384185791015625e-07, \n", + "POST REQUEST PROCESSING....\n", + "INFO: 127.0.0.1:59782 - \"POST /test HTTP/1.1\" 200 OK\n", + "INFO: prepro:0.006774425506591797, softvc:0.18008971214294434, postpro:0.008988618850708008 \n", + "INFO: prepros:0.0004303455352783203, 0.003702878952026367, 0.0003914833068847656, 0.00066375732421875, 0.0013895034790039062, 0.0001964569091796875, \n", + "INFO: prexxxxxxxxxxxxxxx:1.6689300537109375e-06, prepros:4.76837158203125e-07, prepros:4.76837158203125e-07, \n", + "POST REQUEST PROCESSING....\n", + "INFO: 127.0.0.1:59790 - \"POST /test HTTP/1.1\" 200 OK\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "INFO: Shutting down\n", + "INFO: Waiting for application shutdown.\n", + "INFO: Application shutdown complete.\n", + "INFO: Finished server process [402]\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n", + "WARNING: StatReload detected changes in 'SoftVcServerFastAPI.py'. Reloading...\n" ] } ], @@ -261,56 +423,38 @@ }, { "cell_type": "code", - "execution_count": 1, + "source": [ + "from google.colab.output import eval_js\n", + "proxy = eval_js( \"google.colab.kernel.proxyPort(\" + str(PORT) + \")\" )\n", + "print(f\"{proxy}front/\")" + ], "metadata": { + "id": "H8EpnHqDjknR", + "outputId": "f637993b-75a7-44a5-804b-cb75f9765ba5", "colab": { "base_uri": "https://localhost:8080/", - "height": 205 - }, - "id": "WWn3HJlpin4R", - "outputId": "ab69bc12-969b-46b8-8705-6ef84c4ab34f" + "height": 34 + } }, + "execution_count": 42, "outputs": [ { - "output_type": "error", - "ename": "NameError", - "evalue": "ignored", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mgoogle\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcolab\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0moutput\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 4\u001b[0;31m \u001b[0moutput\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mserve_kernel_port_as_window\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mPORT\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", - "\u001b[0;31mNameError\u001b[0m: name 'PORT' is not defined" + "output_type": "stream", + "name": "stdout", + "text": [ + "https://llhntm6iyu-496ff2e9c6d22116-8092-colab.googleusercontent.com/front/\n" ] } - ], - "source": [ - "# (7) プロキシを起動\n", - "from google.colab import output\n", - "\n", - "output.serve_kernel_port_as_window(PORT)" ] }, { "cell_type": "code", - "execution_count": null, + "source": [], "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "k9OqZ-hLjKIx", - "outputId": "28f3b99d-29cc-4581-c6f8-9ff0f55359a1" + "id": "0XQDeuYijm3Y" }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[0m\u001b[01;34massets\u001b[0m/ \u001b[01;32mfavicon.ico\u001b[0m* \u001b[01;32mindex.js\u001b[0m*\n", - "\u001b[01;32mcoffee.png\u001b[0m* \u001b[01;32mindex.html\u001b[0m* \u001b[01;32mindex.js.LICENSE.txt\u001b[0m*\n" - ] - } - ], - "source": [] + "execution_count": null, + "outputs": [] } ], "metadata": { @@ -318,7 +462,7 @@ "colab": { "collapsed_sections": [], "provenance": [], - "authorship_tag": "ABX9TyPxoYe+Y2QsMoX8N7iTlceN", + "authorship_tag": "ABX9TyM1jk828jtJk/yxGlemtIFq", "include_colab_link": true }, "gpuClass": "standard", @@ -328,6 +472,1036 @@ }, "language_info": { "name": "python" + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "1fb6c0e3138f4b488bb34e37146ff37d": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_54917384fe31484c819d5a8553026da4", + "IPY_MODEL_cbf282697ea84126bab4449e9f03446b", + "IPY_MODEL_c52a3c133bcb432cad237073f5aab054" + ], + "layout": "IPY_MODEL_4ecce5ec14504bbc9aed0f47923ccfb6" + } + }, + "54917384fe31484c819d5a8553026da4": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_582c624f0437497ca264a1e5cd2fcb5f", + "placeholder": "​", + "style": "IPY_MODEL_607a419839644cbc837faee0cf085d1c", + "value": "100%" + } + }, + "cbf282697ea84126bab4449e9f03446b": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_7932c1cff373439a8a8eb1f003cf8c4b", + "max": 378435957, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_548c4156f681472493a8af30af129e3c", + "value": 378435957 + } + }, + "c52a3c133bcb432cad237073f5aab054": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_86394b2dfdc04a1db206c34710abde8f", + "placeholder": "​", + "style": "IPY_MODEL_98f9877b91024110a0845bcad5aa9373", + "value": " 361M/361M [01:39<00:00, 5.81MB/s]" + } + }, + "4ecce5ec14504bbc9aed0f47923ccfb6": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "582c624f0437497ca264a1e5cd2fcb5f": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "607a419839644cbc837faee0cf085d1c": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "7932c1cff373439a8a8eb1f003cf8c4b": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "548c4156f681472493a8af30af129e3c": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "" + } + }, + "86394b2dfdc04a1db206c34710abde8f": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "98f9877b91024110a0845bcad5aa9373": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "a8f2eeaf998d4931b0a393874b1dab47": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_57976d7425c74a6ba59fc8690c71556f", + "IPY_MODEL_41b7d72ce3164b79ad0206cf9372e35c", + "IPY_MODEL_88580af9b2e24861824c3a699be36b57" + ], + "layout": "IPY_MODEL_87080b573d3841d9847db312969c20d2" + } + }, + "57976d7425c74a6ba59fc8690c71556f": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_96552e354a024d0caee5420e43097791", + "placeholder": "​", + "style": "IPY_MODEL_a6de0a8cc9744b38b672d4f95a6b6435", + "value": "100%" + } + }, + "41b7d72ce3164b79ad0206cf9372e35c": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_0712aeb95eaf4c5fb02abb7f6b34d232", + "max": 75329769, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_4a69c62156f74ca4bc3e5a0415ab1606", + "value": 75329769 + } + }, + "88580af9b2e24861824c3a699be36b57": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_035468979725405bbc64a007325432e8", + "placeholder": "​", + "style": "IPY_MODEL_88457d91184a40daa2d90c6ef8d05ff8", + "value": " 71.8M/71.8M [00:05<00:00, 10.4MB/s]" + } + }, + "87080b573d3841d9847db312969c20d2": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "96552e354a024d0caee5420e43097791": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "a6de0a8cc9744b38b672d4f95a6b6435": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "0712aeb95eaf4c5fb02abb7f6b34d232": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "4a69c62156f74ca4bc3e5a0415ab1606": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "" + } + }, + "035468979725405bbc64a007325432e8": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "88457d91184a40daa2d90c6ef8d05ff8": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "136e831d42c74b3790488c8916628b1b": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HBoxModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [ + "IPY_MODEL_5368bc852ae241039e85f45ddf4d3700", + "IPY_MODEL_c4d9c5c9097e4fd4882b05dec71c826b", + "IPY_MODEL_d6f2bf9acb7941cc94712b8f66cc9d09" + ], + "layout": "IPY_MODEL_3f3a1d0685694ff3b2c3d7b111c1d59b" + } + }, + "5368bc852ae241039e85f45ddf4d3700": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_d381d89f351544369a3f1744f69a62b8", + "placeholder": "​", + "style": "IPY_MODEL_de05063b4f75466fadc672c2a9c085e1", + "value": "100%" + } + }, + "c4d9c5c9097e4fd4882b05dec71c826b": { + "model_module": "@jupyter-widgets/controls", + "model_name": "FloatProgressModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "success", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_18dde4dbce394d43a7f6e2e6657136bd", + "max": 57562349, + "min": 0, + "orientation": "horizontal", + "style": "IPY_MODEL_bee40572e9d440f6bf8ce945a599dc92", + "value": 57562349 + } + }, + "d6f2bf9acb7941cc94712b8f66cc9d09": { + "model_module": "@jupyter-widgets/controls", + "model_name": "HTMLModel", + "model_module_version": "1.5.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "layout": "IPY_MODEL_8593cbf5e07d46038a8fe307adc34984", + "placeholder": "​", + "style": "IPY_MODEL_730f342e75244fba90d5fc32c9acc2e6", + "value": " 54.9M/54.9M [00:19<00:00, 2.82MB/s]" + } + }, + "3f3a1d0685694ff3b2c3d7b111c1d59b": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "d381d89f351544369a3f1744f69a62b8": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "de05063b4f75466fadc672c2a9c085e1": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + }, + "18dde4dbce394d43a7f6e2e6657136bd": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "bee40572e9d440f6bf8ce945a599dc92": { + "model_module": "@jupyter-widgets/controls", + "model_name": "ProgressStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "bar_color": null, + "description_width": "" + } + }, + "8593cbf5e07d46038a8fe307adc34984": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "730f342e75244fba90d5fc32c9acc2e6": { + "model_module": "@jupyter-widgets/controls", + "model_name": "DescriptionStyleModel", + "model_module_version": "1.5.0", + "state": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + } + } + } } }, "nbformat": 4,