Skip to content

Instantly share code, notes, and snippets.

@ssghost
Created July 4, 2024 12:46
Show Gist options
  • Save ssghost/260a8654111a98918e042e0edf865552 to your computer and use it in GitHub Desktop.
Save ssghost/260a8654111a98918e042e0edf865552 to your computer and use it in GitHub Desktop.
OmniParse_GoogleColab.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/ssghost/260a8654111a98918e042e0edf865552/omniparse_googlecolab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "L9X8u9HkoLW3"
},
"source": [
"## [OmniParse](https://github.com/adithya-s-k/omniparse)\n",
"Seamlessly ingest any data and get structured, actionable output.\n",
"\n",
"![OmniParse](https://raw.githubusercontent.com/adithya-s-k/omniparse/main/docs/assets/hero_image.png)\n",
"[![GitHub Stars](https://img.shields.io/github/stars/adithya-s-k/omniparse?style=social)](https://github.com/adithya-s-k/omniparse/stargazers)\n",
"[![GitHub Forks](https://img.shields.io/github/forks/adithya-s-k/omniparse?style=social)](https://github.com/adithya-s-k/omniparse/network/members)\n",
"[![GitHub Issues](https://img.shields.io/github/issues/adithya-s-k/omniparse)](https://github.com/adithya-s-k/omniparse/issues)\n",
"[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/adithya-s-k/omniparse)](https://github.com/adithya-s-k/omniparse/pulls)\n",
"[![License](https://img.shields.io/github/license/adithya-s-k/omniparse)](https://github.com/adithya-s-k/omniparse/blob/main/LICENSE)\n",
"\n",
"\n",
"\n",
"## Features\n",
"✅ Completely local, no external APIs \n",
"✅ Supports 10+ file types \n",
"✅ Convert documents, multimedia, and web pages to high-quality structured markdown \n",
"✅ Table extraction, image extraction/captioning, audio/video transcription, web page crawling \n",
"✅ Easily deployable using Docker and Skypilot \n",
"✅ Colab friendly \n",
"\n",
"### Problem Statement:\n",
"It's challenging to process data as it comes in different shapes and sizes. OmniParse aims to be an ingestion/parsing platform where you can ingest any type of data, such as documents, images, audio, video, and web content, and get the most structured and actionable output that is GenAI (LLM) friendly.\n",
"\n",
"## Coming Soon\n",
"⭐ Dynamic chunking and structured data extraction based on specified Schema\n",
"🛠️ One magic API: just feed in your file prompt what you want, and we will take care of the rest \n",
"🔧 Dynamic model selection and support for external APIs \n",
"📄 Batch processing for handling multiple files at once \n",
"🦙 New open-source model to replace Surya OCR and Marker \n",
"\n",
"**Final goal** - replace all the different models currently being used with a single MultiModel Model to parse any type of data and get the data you need\n",
"\n",
"📄 - [Documentation](https://docs.cognitivelab.in/) \\\n",
"Created by [Adithya](https://x.com/adithya_s_k).\n",
"\n",
"| Original PDF | OmniParse-API | PyPDF |\n",
"| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n",
"| [![Original PDF](https://github.com/adithya-s-k/marker-api/raw/master/data/images/original\\_pdf.png)](https://github.com/adithya-s-k/marker-api/blob/master/data/images/original\\_pdf.png) | [![OmniParse-API](https://github.com/adithya-s-k/marker-api/raw/master/data/images/marker\\_api.png)](https://github.com/adithya-s-k/marker-api/blob/master/data/images/marker\\_api.png) | [![PyPDF](https://github.com/adithya-s-k/marker-api/raw/master/data/images/pypdf.png)](https://github.com/adithya-s-k/marker-api/blob/master/data/images/pypdf.png) |"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 178
},
"id": "zc9z3nnboLW7",
"outputId": "7ec496f1-b2f6-4b06-932c-a39e5d47284a"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Cloning into 'omniparse'...\n",
"remote: Enumerating objects: 565, done.\u001b[K\n",
"remote: Counting objects: 100% (54/54), done.\u001b[K\n",
"remote: Compressing objects: 100% (16/16), done.\u001b[K\n",
"remote: Total 565 (delta 40), reused 40 (delta 37), pack-reused 511\u001b[K\n",
"Receiving objects: 100% (565/565), 537.81 KiB | 7.47 MiB/s, done.\n",
"Resolving deltas: 100% (279/279), done.\n",
"/content/omniparse\n"
]
},
{
"output_type": "execute_result",
"data": {
"text/plain": [
"'/content/omniparse'"
],
"application/vnd.google.colaboratory.intrinsic+json": {
"type": "string"
}
},
"metadata": {},
"execution_count": 1
}
],
"source": [
"## Clone the repository\n",
"\n",
"!git clone https://github.com/adithya-s-k/omniparse.git\n",
"%cd omniparse\n",
"%pwd"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 1000
},
"id": "Wjd0_Fy3f4Wa",
"outputId": "9b28dd76-99ff-4781-b03b-7be66a9242ac"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Obtaining file:///content/omniparse\n",
" Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n",
" Checking if build backend supports build_editable ... \u001b[?25l\u001b[?25hdone\n",
" Getting requirements to build editable ... \u001b[?25l\u001b[?25hdone\n",
" Preparing editable metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n",
"Collecting Pillow<11.0.0,>=10.1.0 (from omniparse==0.0.1)\n",
" Downloading pillow-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.5/4.5 MB\u001b[0m \u001b[31m20.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting art<7.0,>=6.2 (from omniparse==0.0.1)\n",
" Downloading art-6.2-py3-none-any.whl (601 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m601.8/601.8 kB\u001b[0m \u001b[31m33.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: beautifulsoup4<5.0.0,>=4.12.3 in /usr/local/lib/python3.10/dist-packages (from omniparse==0.0.1) (4.12.3)\n",
"Collecting fastapi<0.112.0,>=0.111.0 (from omniparse==0.0.1)\n",
" Downloading fastapi-0.111.0-py3-none-any.whl (91 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m92.0/92.0 kB\u001b[0m \u001b[31m13.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting filetype<2.0.0,>=1.2.0 (from omniparse==0.0.1)\n",
" Downloading filetype-1.2.0-py2.py3-none-any.whl (19 kB)\n",
"Collecting flash-attn<3.0.0,>=2.5.9 (from omniparse==0.0.1)\n",
" Downloading flash_attn-2.5.9.post1.tar.gz (2.6 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.6/2.6 MB\u001b[0m \u001b[31m54.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
"Collecting ftfy<7.0.0,>=6.1.1 (from omniparse==0.0.1)\n",
" Downloading ftfy-6.2.0-py3-none-any.whl (54 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.4/54.4 kB\u001b[0m \u001b[31m7.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting gradio<5.0.0,>=4.37.1 (from omniparse==0.0.1)\n",
" Downloading gradio-4.37.2-py3-none-any.whl (12.3 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.3/12.3 MB\u001b[0m \u001b[31m58.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: grpcio<2.0.0,>=1.63.0 in /usr/local/lib/python3.10/dist-packages (from omniparse==0.0.1) (1.64.1)\n",
"Collecting html2text<2025.0.0,>=2024.2.26 (from omniparse==0.0.1)\n",
" Downloading html2text-2024.2.26.tar.gz (56 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m56.5/56.5 kB\u001b[0m \u001b[31m7.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
"Collecting img2pdf<0.6.0,>=0.5.1 (from omniparse==0.0.1)\n",
" Downloading img2pdf-0.5.1.tar.gz (104 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m104.2/104.2 kB\u001b[0m \u001b[31m11.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
"Collecting marker-pdf<0.3.0,>=0.2.15 (from omniparse==0.0.1)\n",
" Downloading marker_pdf-0.2.15-py3-none-any.whl (63 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m63.2/63.2 kB\u001b[0m \u001b[31m9.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting matplotlib<4.0.0,>=3.9.0 (from omniparse==0.0.1)\n",
" Downloading matplotlib-3.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m8.3/8.3 MB\u001b[0m \u001b[31m99.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: moviepy<2.0.0,>=1.0.3 in /usr/local/lib/python3.10/dist-packages (from omniparse==0.0.1) (1.0.3)\n",
"Requirement already satisfied: nltk<4.0.0,>=3.8.1 in /usr/local/lib/python3.10/dist-packages (from omniparse==0.0.1) (3.8.1)\n",
"Collecting numpy<2.0.0,>=1.26.1 (from omniparse==0.0.1)\n",
" Downloading numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m18.2/18.2 MB\u001b[0m \u001b[31m75.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting openai-whisper<20231118,>=20231117 (from omniparse==0.0.1)\n",
" Downloading openai-whisper-20231117.tar.gz (798 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m798.6/798.6 kB\u001b[0m \u001b[31m64.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25h Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n",
" Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n",
" Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n",
"Collecting pdftext<0.4.0,>=0.3.10 (from omniparse==0.0.1)\n",
" Downloading pdftext-0.3.10-py3-none-any.whl (25 kB)\n",
"Requirement already satisfied: pydantic<3.0.0,>=2.4.2 in /usr/local/lib/python3.10/dist-packages (from omniparse==0.0.1) (2.8.0)\n",
"Collecting pydantic-settings<3.0.0,>=2.0.3 (from omniparse==0.0.1)\n",
" Downloading pydantic_settings-2.3.4-py3-none-any.whl (22 kB)\n",
"Collecting pypdfium2<5.0.0,>=4.30.0 (from omniparse==0.0.1)\n",
" Downloading pypdfium2-4.30.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.8/2.8 MB\u001b[0m \u001b[31m97.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting python-dotenv<2.0.0,>=1.0.0 (from omniparse==0.0.1)\n",
" Downloading python_dotenv-1.0.1-py3-none-any.whl (19 kB)\n",
"Collecting pytube<16.0.0,>=15.0.0 (from omniparse==0.0.1)\n",
" Downloading pytube-15.0.0-py3-none-any.whl (57 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m57.6/57.6 kB\u001b[0m \u001b[31m8.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting rapidfuzz<4.0.0,>=3.8.1 (from omniparse==0.0.1)\n",
" Downloading rapidfuzz-3.9.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.4/3.4 MB\u001b[0m \u001b[31m27.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: regex<2025.0.0,>=2024.4.28 in /usr/local/lib/python3.10/dist-packages (from omniparse==0.0.1) (2024.5.15)\n",
"Collecting scikit-learn<2.0.0,>=1.3.2 (from omniparse==0.0.1)\n",
" Downloading scikit_learn-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.4 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.4/13.4 MB\u001b[0m \u001b[31m101.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting selenium<5.0.0,>=4.21.0 (from omniparse==0.0.1)\n",
" Downloading selenium-4.22.0-py3-none-any.whl (9.4 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m9.4/9.4 MB\u001b[0m \u001b[31m110.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting surya-ocr<0.5.0,>=0.4.3 (from omniparse==0.0.1)\n",
" Downloading surya_ocr-0.4.14-py3-none-any.whl (94 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m94.5/94.5 kB\u001b[0m \u001b[31m14.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: tabulate<0.10.0,>=0.9.0 in /usr/local/lib/python3.10/dist-packages (from omniparse==0.0.1) (0.9.0)\n",
"Collecting texify<0.2.0,>=0.1.8 (from omniparse==0.0.1)\n",
" Downloading texify-0.1.10-py3-none-any.whl (30 kB)\n",
"Collecting timm<2.0.0,>=1.0.7 (from omniparse==0.0.1)\n",
" Downloading timm-1.0.7-py3-none-any.whl (2.3 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.3/2.3 MB\u001b[0m \u001b[31m9.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: torch<3.0.0,>=2.2.2 in /usr/local/lib/python3.10/dist-packages (from omniparse==0.0.1) (2.3.0+cu121)\n",
"Requirement already satisfied: tqdm<5.0.0,>=4.66.1 in /usr/local/lib/python3.10/dist-packages (from omniparse==0.0.1) (4.66.4)\n",
"Requirement already satisfied: transformers<5.0.0,>=4.41.2 in /usr/local/lib/python3.10/dist-packages (from omniparse==0.0.1) (4.41.2)\n",
"Collecting uvicorn<0.30.0,>=0.29.0 (from omniparse==0.0.1)\n",
" Downloading uvicorn-0.29.0-py3-none-any.whl (60 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m60.8/60.8 kB\u001b[0m \u001b[31m9.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting webdriver-manager<5.0.0,>=4.0.1 (from omniparse==0.0.1)\n",
" Downloading webdriver_manager-4.0.1-py2.py3-none-any.whl (27 kB)\n",
"Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.10/dist-packages (from beautifulsoup4<5.0.0,>=4.12.3->omniparse==0.0.1) (2.5)\n",
"Collecting starlette<0.38.0,>=0.37.2 (from fastapi<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading starlette-0.37.2-py3-none-any.whl (71 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m71.9/71.9 kB\u001b[0m \u001b[31m10.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: typing-extensions>=4.8.0 in /usr/local/lib/python3.10/dist-packages (from fastapi<0.112.0,>=0.111.0->omniparse==0.0.1) (4.12.2)\n",
"Collecting fastapi-cli>=0.0.2 (from fastapi<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading fastapi_cli-0.0.4-py3-none-any.whl (9.5 kB)\n",
"Collecting httpx>=0.23.0 (from fastapi<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading httpx-0.27.0-py3-none-any.whl (75 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m75.6/75.6 kB\u001b[0m \u001b[31m11.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: jinja2>=2.11.2 in /usr/local/lib/python3.10/dist-packages (from fastapi<0.112.0,>=0.111.0->omniparse==0.0.1) (3.1.4)\n",
"Collecting python-multipart>=0.0.7 (from fastapi<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading python_multipart-0.0.9-py3-none-any.whl (22 kB)\n",
"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<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading ujson-5.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (53 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m53.6/53.6 kB\u001b[0m \u001b[31m8.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting orjson>=3.2.1 (from fastapi<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading orjson-3.10.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m141.1/141.1 kB\u001b[0m \u001b[31m19.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting email_validator>=2.0.0 (from fastapi<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading email_validator-2.2.0-py3-none-any.whl (33 kB)\n",
"Collecting uvicorn[standard]>=0.12.0 (from fastapi<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading uvicorn-0.30.1-py3-none-any.whl (62 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.4/62.4 kB\u001b[0m \u001b[31m9.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting einops (from flash-attn<3.0.0,>=2.5.9->omniparse==0.0.1)\n",
" Downloading einops-0.8.0-py3-none-any.whl (43 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m43.2/43.2 kB\u001b[0m \u001b[31m6.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: wcwidth<0.3.0,>=0.2.12 in /usr/local/lib/python3.10/dist-packages (from ftfy<7.0.0,>=6.1.1->omniparse==0.0.1) (0.2.13)\n",
"Collecting aiofiles<24.0,>=22.0 (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1)\n",
" Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)\n",
"Requirement already satisfied: altair<6.0,>=4.2.0 in /usr/local/lib/python3.10/dist-packages (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (4.2.2)\n",
"Collecting ffmpy (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1)\n",
" Downloading ffmpy-0.3.2.tar.gz (5.5 kB)\n",
" Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
"Collecting gradio-client==1.0.2 (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1)\n",
" Downloading gradio_client-1.0.2-py3-none-any.whl (318 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m318.2/318.2 kB\u001b[0m \u001b[31m36.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: huggingface-hub>=0.19.3 in /usr/local/lib/python3.10/dist-packages (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (0.23.4)\n",
"Requirement already satisfied: importlib-resources<7.0,>=1.3 in /usr/local/lib/python3.10/dist-packages (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (6.4.0)\n",
"Requirement already satisfied: markupsafe~=2.0 in /usr/local/lib/python3.10/dist-packages (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (2.1.5)\n",
"Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (24.1)\n",
"Requirement already satisfied: pandas<3.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (2.0.3)\n",
"Collecting pydub (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1)\n",
" Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n",
"Requirement already satisfied: pyyaml<7.0,>=5.0 in /usr/local/lib/python3.10/dist-packages (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (6.0.1)\n",
"Collecting ruff>=0.2.2 (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1)\n",
" Downloading ruff-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.1 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.1/10.1 MB\u001b[0m \u001b[31m80.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting semantic-version~=2.0 (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1)\n",
" Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)\n",
"Collecting tomlkit==0.12.0 (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1)\n",
" Downloading tomlkit-0.12.0-py3-none-any.whl (37 kB)\n",
"Requirement already satisfied: typer<1.0,>=0.12 in /usr/local/lib/python3.10/dist-packages (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (0.12.3)\n",
"Requirement already satisfied: urllib3~=2.0 in /usr/local/lib/python3.10/dist-packages (from gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (2.0.7)\n",
"Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from gradio-client==1.0.2->gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (2023.6.0)\n",
"Collecting websockets<12.0,>=10.0 (from gradio-client==1.0.2->gradio<5.0.0,>=4.37.1->omniparse==0.0.1)\n",
" 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",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m129.9/129.9 kB\u001b[0m \u001b[31m18.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting pikepdf (from img2pdf<0.6.0,>=0.5.1->omniparse==0.0.1)\n",
" Downloading pikepdf-9.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.4/2.4 MB\u001b[0m \u001b[31m95.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib<4.0.0,>=3.9.0->omniparse==0.0.1) (1.2.1)\n",
"Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib<4.0.0,>=3.9.0->omniparse==0.0.1) (0.12.1)\n",
"Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib<4.0.0,>=3.9.0->omniparse==0.0.1) (4.53.0)\n",
"Requirement already satisfied: kiwisolver>=1.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib<4.0.0,>=3.9.0->omniparse==0.0.1) (1.4.5)\n",
"Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib<4.0.0,>=3.9.0->omniparse==0.0.1) (3.1.2)\n",
"Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib<4.0.0,>=3.9.0->omniparse==0.0.1) (2.8.2)\n",
"Requirement already satisfied: decorator<5.0,>=4.0.2 in /usr/local/lib/python3.10/dist-packages (from moviepy<2.0.0,>=1.0.3->omniparse==0.0.1) (4.4.2)\n",
"Requirement already satisfied: requests<3.0,>=2.8.1 in /usr/local/lib/python3.10/dist-packages (from moviepy<2.0.0,>=1.0.3->omniparse==0.0.1) (2.31.0)\n",
"Requirement already satisfied: proglog<=1.0.0 in /usr/local/lib/python3.10/dist-packages (from moviepy<2.0.0,>=1.0.3->omniparse==0.0.1) (0.1.10)\n",
"Requirement already satisfied: imageio<3.0,>=2.5 in /usr/local/lib/python3.10/dist-packages (from moviepy<2.0.0,>=1.0.3->omniparse==0.0.1) (2.31.6)\n",
"Requirement already satisfied: imageio-ffmpeg>=0.2.0 in /usr/local/lib/python3.10/dist-packages (from moviepy<2.0.0,>=1.0.3->omniparse==0.0.1) (0.5.1)\n",
"Requirement already satisfied: click in /usr/local/lib/python3.10/dist-packages (from nltk<4.0.0,>=3.8.1->omniparse==0.0.1) (8.1.7)\n",
"Requirement already satisfied: joblib in /usr/local/lib/python3.10/dist-packages (from nltk<4.0.0,>=3.8.1->omniparse==0.0.1) (1.4.2)\n",
"Requirement already satisfied: triton<3,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from openai-whisper<20231118,>=20231117->omniparse==0.0.1) (2.3.0)\n",
"Requirement already satisfied: numba in /usr/local/lib/python3.10/dist-packages (from openai-whisper<20231118,>=20231117->omniparse==0.0.1) (0.58.1)\n",
"Requirement already satisfied: more-itertools in /usr/local/lib/python3.10/dist-packages (from openai-whisper<20231118,>=20231117->omniparse==0.0.1) (10.1.0)\n",
"Collecting tiktoken (from openai-whisper<20231118,>=20231117->omniparse==0.0.1)\n",
" Downloading tiktoken-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.1/1.1 MB\u001b[0m \u001b[31m66.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: annotated-types>=0.4.0 in /usr/local/lib/python3.10/dist-packages (from pydantic<3.0.0,>=2.4.2->omniparse==0.0.1) (0.7.0)\n",
"Requirement already satisfied: pydantic-core==2.20.0 in /usr/local/lib/python3.10/dist-packages (from pydantic<3.0.0,>=2.4.2->omniparse==0.0.1) (2.20.0)\n",
"Requirement already satisfied: scipy>=1.6.0 in /usr/local/lib/python3.10/dist-packages (from scikit-learn<2.0.0,>=1.3.2->omniparse==0.0.1) (1.11.4)\n",
"Requirement already satisfied: threadpoolctl>=3.1.0 in /usr/local/lib/python3.10/dist-packages (from scikit-learn<2.0.0,>=1.3.2->omniparse==0.0.1) (3.5.0)\n",
"Collecting trio~=0.17 (from selenium<5.0.0,>=4.21.0->omniparse==0.0.1)\n",
" Downloading trio-0.25.1-py3-none-any.whl (467 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m467.7/467.7 kB\u001b[0m \u001b[31m46.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting trio-websocket~=0.9 (from selenium<5.0.0,>=4.21.0->omniparse==0.0.1)\n",
" Downloading trio_websocket-0.11.1-py3-none-any.whl (17 kB)\n",
"Requirement already satisfied: certifi>=2021.10.8 in /usr/local/lib/python3.10/dist-packages (from selenium<5.0.0,>=4.21.0->omniparse==0.0.1) (2024.6.2)\n",
"Requirement already satisfied: websocket-client>=1.8.0 in /usr/local/lib/python3.10/dist-packages (from selenium<5.0.0,>=4.21.0->omniparse==0.0.1) (1.8.0)\n",
"Collecting opencv-python<5.0.0.0,>=4.9.0.80 (from surya-ocr<0.5.0,>=0.4.3->omniparse==0.0.1)\n",
" Downloading opencv_python-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (62.5 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.5/62.5 MB\u001b[0m \u001b[31m9.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: torchvision in /usr/local/lib/python3.10/dist-packages (from timm<2.0.0,>=1.0.7->omniparse==0.0.1) (0.18.0+cu121)\n",
"Requirement already satisfied: safetensors in /usr/local/lib/python3.10/dist-packages (from timm<2.0.0,>=1.0.7->omniparse==0.0.1) (0.4.3)\n",
"Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch<3.0.0,>=2.2.2->omniparse==0.0.1) (3.15.4)\n",
"Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch<3.0.0,>=2.2.2->omniparse==0.0.1) (1.12.1)\n",
"Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch<3.0.0,>=2.2.2->omniparse==0.0.1) (3.3)\n",
"Collecting nvidia-cuda-nvrtc-cu12==12.1.105 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB)\n",
"Collecting nvidia-cuda-runtime-cu12==12.1.105 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB)\n",
"Collecting nvidia-cuda-cupti-cu12==12.1.105 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB)\n",
"Collecting nvidia-cudnn-cu12==8.9.2.26 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl (731.7 MB)\n",
"Collecting nvidia-cublas-cu12==12.1.3.1 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl (410.6 MB)\n",
"Collecting nvidia-cufft-cu12==11.0.2.54 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl (121.6 MB)\n",
"Collecting nvidia-curand-cu12==10.3.2.106 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl (56.5 MB)\n",
"Collecting nvidia-cusolver-cu12==11.4.5.107 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl (124.2 MB)\n",
"Collecting nvidia-cusparse-cu12==12.1.0.106 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl (196.0 MB)\n",
"Collecting nvidia-nccl-cu12==2.20.5 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl (176.2 MB)\n",
"Collecting nvidia-nvtx-cu12==12.1.105 (from torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Using cached nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (99 kB)\n",
"Collecting nvidia-nvjitlink-cu12 (from nvidia-cusolver-cu12==11.4.5.107->torch<3.0.0,>=2.2.2->omniparse==0.0.1)\n",
" Downloading nvidia_nvjitlink_cu12-12.5.82-py3-none-manylinux2014_x86_64.whl (21.3 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.3/21.3 MB\u001b[0m \u001b[31m64.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: tokenizers<0.20,>=0.19 in /usr/local/lib/python3.10/dist-packages (from transformers<5.0.0,>=4.41.2->omniparse==0.0.1) (0.19.1)\n",
"Collecting h11>=0.8 (from uvicorn<0.30.0,>=0.29.0->omniparse==0.0.1)\n",
" Downloading h11-0.14.0-py3-none-any.whl (58 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m58.3/58.3 kB\u001b[0m \u001b[31m7.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: entrypoints in /usr/local/lib/python3.10/dist-packages (from altair<6.0,>=4.2.0->gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (0.4)\n",
"Requirement already satisfied: jsonschema>=3.0 in /usr/local/lib/python3.10/dist-packages (from altair<6.0,>=4.2.0->gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (4.19.2)\n",
"Requirement already satisfied: toolz in /usr/local/lib/python3.10/dist-packages (from altair<6.0,>=4.2.0->gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (0.12.1)\n",
"Collecting dnspython>=2.0.0 (from email_validator>=2.0.0->fastapi<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading dnspython-2.6.1-py3-none-any.whl (307 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m307.7/307.7 kB\u001b[0m \u001b[31m31.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: idna>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from email_validator>=2.0.0->fastapi<0.112.0,>=0.111.0->omniparse==0.0.1) (3.7)\n",
"Requirement already satisfied: anyio in /usr/local/lib/python3.10/dist-packages (from httpx>=0.23.0->fastapi<0.112.0,>=0.111.0->omniparse==0.0.1) (3.7.1)\n",
"Collecting httpcore==1.* (from httpx>=0.23.0->fastapi<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading httpcore-1.0.5-py3-none-any.whl (77 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m77.9/77.9 kB\u001b[0m \u001b[31m9.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: sniffio in /usr/local/lib/python3.10/dist-packages (from httpx>=0.23.0->fastapi<0.112.0,>=0.111.0->omniparse==0.0.1) (1.3.1)\n",
"INFO: pip is looking at multiple versions of imageio to determine which version is compatible with other requirements. This could take a while.\n",
"Collecting imageio<3.0,>=2.5 (from moviepy<2.0.0,>=1.0.3->omniparse==0.0.1)\n",
" Downloading imageio-2.34.2-py3-none-any.whl (313 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m313.5/313.5 kB\u001b[0m \u001b[31m32.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from imageio-ffmpeg>=0.2.0->moviepy<2.0.0,>=1.0.3->omniparse==0.0.1) (67.7.2)\n",
"Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas<3.0,>=1.0->gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (2023.4)\n",
"Requirement already satisfied: tzdata>=2022.1 in /usr/local/lib/python3.10/dist-packages (from pandas<3.0,>=1.0->gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (2024.1)\n",
"Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib<4.0.0,>=3.9.0->omniparse==0.0.1) (1.16.0)\n",
"Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests<3.0,>=2.8.1->moviepy<2.0.0,>=1.0.3->omniparse==0.0.1) (3.3.2)\n",
"Requirement already satisfied: attrs>=23.2.0 in /usr/local/lib/python3.10/dist-packages (from trio~=0.17->selenium<5.0.0,>=4.21.0->omniparse==0.0.1) (23.2.0)\n",
"Requirement already satisfied: sortedcontainers in /usr/local/lib/python3.10/dist-packages (from trio~=0.17->selenium<5.0.0,>=4.21.0->omniparse==0.0.1) (2.4.0)\n",
"Collecting outcome (from trio~=0.17->selenium<5.0.0,>=4.21.0->omniparse==0.0.1)\n",
" Downloading outcome-1.3.0.post0-py2.py3-none-any.whl (10 kB)\n",
"Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from trio~=0.17->selenium<5.0.0,>=4.21.0->omniparse==0.0.1) (1.2.1)\n",
"Collecting wsproto>=0.14 (from trio-websocket~=0.9->selenium<5.0.0,>=4.21.0->omniparse==0.0.1)\n",
" Downloading wsproto-1.2.0-py3-none-any.whl (24 kB)\n",
"Requirement already satisfied: shellingham>=1.3.0 in /usr/local/lib/python3.10/dist-packages (from typer<1.0,>=0.12->gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (1.5.4)\n",
"Requirement already satisfied: rich>=10.11.0 in /usr/local/lib/python3.10/dist-packages (from typer<1.0,>=0.12->gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (13.7.1)\n",
"Requirement already satisfied: pysocks!=1.5.7,<2.0,>=1.5.6 in /usr/local/lib/python3.10/dist-packages (from urllib3~=2.0->gradio<5.0.0,>=4.37.1->omniparse==0.0.1) (1.7.1)\n",
"INFO: pip is looking at multiple versions of uvicorn[standard] to determine which version is compatible with other requirements. This could take a while.\n",
"Collecting uvicorn[standard]>=0.12.0 (from fastapi<0.112.0,>=0.111.0->omniparse==0.0.1)\n",
" Downloading uvicorn-0.30.0-py3-none-any.whl (62 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.4/62.4 kB\u001b[0m \u001b[31m8.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting httptools>=0.5.0 (from uvicorn<0.30.0,>=0.29.0->omniparse==0.0.1)\n",
" 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",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m341.4/341.4 kB\u001b[0m \u001b[31m41.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting uvloop!=0.15.0,!=0.15.1,>=0.14.0 (from uvicorn<0.30.0,>=0.29.0->omniparse==0.0.1)\n",
" Downloading uvloop-0.19.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.4/3.4 MB\u001b[0m \u001b[31m94.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting watchfiles>=0.13 (from uvicorn<0.30.0,>=0.29.0->omniparse==0.0.1)\n",
" Downloading watchfiles-0.22.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.2/1.2 MB\u001b[0m \u001b[31m53.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: llvmlite<0.42,>=0.41.0dev0 in /usr/local/lib/python3.10/dist-packages (from numba->openai-whisper<20231118,>=20231117->omniparse==0.0.1) (0.41.1)\n",
"Collecting Deprecated (from pikepdf->img2pdf<0.6.0,>=0.5.1->omniparse==0.0.1)\n",
" Downloading Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)\n",
"Requirement already satisfied: lxml>=4.8 in /usr/local/lib/python3.10/dist-packages (from pikepdf->img2pdf<0.6.0,>=0.5.1->omniparse==0.0.1) (4.9.4)\n",
"Requirement already satisfied: mpmath<1.4.0,>=1.1.0 in /usr/local/lib/python3.10/dist-packages (from sympy->torch<3.0.0,>=2.2.2->omniparse==0.0.1) (1.3.0)\n",
"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<5.0.0,>=4.37.1->omniparse==0.0.1) (2023.12.1)\n",
"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<5.0.0,>=4.37.1->omniparse==0.0.1) (0.35.1)\n",
"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<5.0.0,>=4.37.1->omniparse==0.0.1) (0.18.1)\n",
"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<5.0.0,>=4.37.1->omniparse==0.0.1) (3.0.0)\n",
"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<5.0.0,>=4.37.1->omniparse==0.0.1) (2.16.1)\n",
"Requirement already satisfied: wrapt<2,>=1.10 in /usr/local/lib/python3.10/dist-packages (from Deprecated->pikepdf->img2pdf<0.6.0,>=0.5.1->omniparse==0.0.1) (1.14.1)\n",
"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<5.0.0,>=4.37.1->omniparse==0.0.1) (0.1.2)\n",
"Building wheels for collected packages: omniparse, flash-attn, html2text, img2pdf, openai-whisper, ffmpy\n",
" Building editable for omniparse (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n",
" Created wheel for omniparse: filename=omniparse-0.0.1-py3-none-any.whl size=18072 sha256=c4e2e3ddb575714a6d277ffc11e6c0d5d6ec112632ed8a8794663fa4c976de29\n",
" Stored in directory: /tmp/pip-ephem-wheel-cache-jedybre5/wheels/a5/c0/5c/5f0392e33e1821ae31cf9c5e4a843bcbd6611e2350e84d0b52\n",
" Building wheel for flash-attn (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
" Created wheel for flash-attn: filename=flash_attn-2.5.9.post1-cp310-cp310-linux_x86_64.whl size=120889689 sha256=5022ba11d48bf74926da9c16260f4ea2b9bb7f4e29bdb4bd6e1383ad1c55d16f\n",
" Stored in directory: /root/.cache/pip/wheels/cc/ad/f6/7ccf0238790d6346e9fe622923a76ec218e890d356b9a2754a\n",
" Building wheel for html2text (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
" Created wheel for html2text: filename=html2text-2024.2.26-py3-none-any.whl size=33111 sha256=e6d438dfad778a3347998ab1d1623b58c83e6c78a84343da225fb056182a557e\n",
" Stored in directory: /root/.cache/pip/wheels/f3/96/6d/a7eba8f80d31cbd188a2787b81514d82fc5ae6943c44777659\n",
" Building wheel for img2pdf (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
" Created wheel for img2pdf: filename=img2pdf-0.5.1-py3-none-any.whl size=49277 sha256=8b14922f951de670b8377c6a896351ae960d0c6a00739b58789fc08329614f3b\n",
" Stored in directory: /root/.cache/pip/wheels/b7/e2/32/e12ea533072415219fc91a248cc413f34c505881ba850bf058\n",
" Building wheel for openai-whisper (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n",
" Created wheel for openai-whisper: filename=openai_whisper-20231117-py3-none-any.whl size=801359 sha256=c1ea1f84fdc6accbdcd8efb4f95077cf9d95ddbbbf656b9e05ad2490d8dca378\n",
" Stored in directory: /root/.cache/pip/wheels/d0/85/e1/9361b4cbea7dd4b7f6702fa4c3afc94877952eeb2b62f45f56\n",
" Building wheel for ffmpy (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
" Created wheel for ffmpy: filename=ffmpy-0.3.2-py3-none-any.whl size=5584 sha256=5de8c993769b0cc1ed0187d81d059c66007f6cba01a810e0492547d06dccef73\n",
" Stored in directory: /root/.cache/pip/wheels/bd/65/9a/671fc6dcde07d4418df0c592f8df512b26d7a0029c2a23dd81\n",
"Successfully built omniparse flash-attn html2text img2pdf openai-whisper ffmpy\n",
"Installing collected packages: pydub, filetype, ffmpy, websockets, uvloop, ujson, tomlkit, semantic-version, ruff, rapidfuzz, pytube, python-multipart, python-dotenv, pypdfium2, Pillow, outcome, orjson, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, numpy, httptools, html2text, h11, ftfy, einops, dnspython, Deprecated, art, aiofiles, wsproto, webdriver-manager, watchfiles, uvicorn, trio, tiktoken, starlette, pikepdf, opencv-python, nvidia-cusparse-cu12, nvidia-cudnn-cu12, imageio, httpcore, email_validator, trio-websocket, scikit-learn, pydantic-settings, nvidia-cusolver-cu12, matplotlib, img2pdf, httpx, selenium, pdftext, gradio-client, fastapi-cli, texify, surya-ocr, openai-whisper, flash-attn, fastapi, timm, marker-pdf, gradio, omniparse\n",
" Attempting uninstall: Pillow\n",
" Found existing installation: Pillow 9.4.0\n",
" Uninstalling Pillow-9.4.0:\n",
" Successfully uninstalled Pillow-9.4.0\n",
" Attempting uninstall: numpy\n",
" Found existing installation: numpy 1.25.2\n",
" Uninstalling numpy-1.25.2:\n",
" Successfully uninstalled numpy-1.25.2\n",
" Attempting uninstall: opencv-python\n",
" Found existing installation: opencv-python 4.8.0.76\n",
" Uninstalling opencv-python-4.8.0.76:\n",
" Successfully uninstalled opencv-python-4.8.0.76\n",
" Attempting uninstall: imageio\n",
" Found existing installation: imageio 2.31.6\n",
" Uninstalling imageio-2.31.6:\n",
" Successfully uninstalled imageio-2.31.6\n",
" Attempting uninstall: scikit-learn\n",
" Found existing installation: scikit-learn 1.2.2\n",
" Uninstalling scikit-learn-1.2.2:\n",
" Successfully uninstalled scikit-learn-1.2.2\n",
" Attempting uninstall: matplotlib\n",
" Found existing installation: matplotlib 3.7.1\n",
" Uninstalling matplotlib-3.7.1:\n",
" Successfully uninstalled matplotlib-3.7.1\n",
"Successfully installed Deprecated-1.2.14 Pillow-10.4.0 aiofiles-23.2.1 art-6.2 dnspython-2.6.1 einops-0.8.0 email_validator-2.2.0 fastapi-0.111.0 fastapi-cli-0.0.4 ffmpy-0.3.2 filetype-1.2.0 flash-attn-2.5.9.post1 ftfy-6.2.0 gradio-4.37.2 gradio-client-1.0.2 h11-0.14.0 html2text-2024.2.26 httpcore-1.0.5 httptools-0.6.1 httpx-0.27.0 imageio-2.34.2 img2pdf-0.5.1 marker-pdf-0.2.15 matplotlib-3.9.1 numpy-1.26.4 nvidia-cublas-cu12-12.1.3.1 nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-8.9.2.26 nvidia-cufft-cu12-11.0.2.54 nvidia-curand-cu12-10.3.2.106 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 nvidia-nccl-cu12-2.20.5 nvidia-nvjitlink-cu12-12.5.82 nvidia-nvtx-cu12-12.1.105 omniparse-0.0.1 openai-whisper-20231117 opencv-python-4.10.0.84 orjson-3.10.6 outcome-1.3.0.post0 pdftext-0.3.10 pikepdf-9.0.0 pydantic-settings-2.3.4 pydub-0.25.1 pypdfium2-4.30.0 python-dotenv-1.0.1 python-multipart-0.0.9 pytube-15.0.0 rapidfuzz-3.9.4 ruff-0.5.0 scikit-learn-1.5.1 selenium-4.22.0 semantic-version-2.10.0 starlette-0.37.2 surya-ocr-0.4.14 texify-0.1.10 tiktoken-0.7.0 timm-1.0.7 tomlkit-0.12.0 trio-0.25.1 trio-websocket-0.11.1 ujson-5.10.0 uvicorn-0.29.0 uvloop-0.19.0 watchfiles-0.22.0 webdriver-manager-4.0.1 websockets-11.0.3 wsproto-1.2.0\n"
]
},
{
"output_type": "display_data",
"data": {
"application/vnd.colab-display-data+json": {
"pip_warning": {
"packages": [
"PIL"
]
},
"id": "cd61c856b9484e7d85c7a16d5bef6f99"
}
},
"metadata": {}
}
],
"source": [
"## Install dependencies\n",
"## if you get a restart session warning you can ignore it\n",
"\n",
"%pip install -e ."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "UtJOJosnoLW8",
"outputId": "c2cf27b0-3854-42d1-f1d2-2579de6c2cec"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Requirement already satisfied: transformers==4.41.2 in /usr/local/lib/python3.10/dist-packages (4.41.2)\n",
"Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from transformers==4.41.2) (3.15.4)\n",
"Requirement already satisfied: huggingface-hub<1.0,>=0.23.0 in /usr/local/lib/python3.10/dist-packages (from transformers==4.41.2) (0.23.4)\n",
"Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from transformers==4.41.2) (1.26.4)\n",
"Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from transformers==4.41.2) (24.1)\n",
"Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from transformers==4.41.2) (6.0.1)\n",
"Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers==4.41.2) (2024.5.15)\n",
"Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from transformers==4.41.2) (2.31.0)\n",
"Requirement already satisfied: tokenizers<0.20,>=0.19 in /usr/local/lib/python3.10/dist-packages (from transformers==4.41.2) (0.19.1)\n",
"Requirement already satisfied: safetensors>=0.4.1 in /usr/local/lib/python3.10/dist-packages (from transformers==4.41.2) (0.4.3)\n",
"Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.10/dist-packages (from transformers==4.41.2) (4.66.4)\n",
"Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub<1.0,>=0.23.0->transformers==4.41.2) (2023.6.0)\n",
"Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub<1.0,>=0.23.0->transformers==4.41.2) (4.12.2)\n",
"Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->transformers==4.41.2) (3.3.2)\n",
"Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->transformers==4.41.2) (3.7)\n",
"Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->transformers==4.41.2) (2.0.7)\n",
"Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->transformers==4.41.2) (2024.6.2)\n"
]
}
],
"source": [
"%pip install transformers==4.41.2"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "5uLY5mBBjBah",
"outputId": "b689ff82-b100-46dd-bb09-838a8e98b757"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"\r0% [Working]\r \rHit:1 http://archive.ubuntu.com/ubuntu jammy InRelease\n",
"\r0% [Waiting for headers] [Connecting to security.ubuntu.com (91.189.91.82)] [Connected to cloud.r-pr\r \rGet:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]\n",
"\r0% [2 InRelease 38.8 kB/128 kB 30%] [Connecting to security.ubuntu.com (91.189.91.82)] [Waiting for \r \rGet:3 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease [3,626 B]\n",
"\r0% [2 InRelease 67.7 kB/128 kB 53%] [Connecting to security.ubuntu.com (91.189.91.82)] [3 InRelease \r0% [2 InRelease 72.1 kB/128 kB 56%] [Connecting to security.ubuntu.com (91.189.91.82)] [Waiting for \r \r0% [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headers]\r \rGet:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]\n",
"\r0% [4 InRelease 28.7 kB/127 kB 23%] [Waiting for headers] [Waiting for headers] [Waiting for headers\r \r0% [Waiting for headers] [Waiting for headers] [Waiting for headers]\r \rGet:5 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease [1,581 B]\n",
"\r \r0% [Waiting for headers] [Waiting for headers]\r \rHit:6 https://ppa.launchpadcontent.net/c2d4u.team/c2d4u4.0+/ubuntu jammy InRelease\n",
"\r0% [Waiting for headers] [Waiting for headers]\r \rHit:7 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease\n",
"\r0% [Waiting for headers] [Waiting for headers]\r \rHit:8 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease\n",
"\r \r0% [Waiting for headers]\r \rHit:9 https://ppa.launchpadcontent.net/ubuntugis/ppa/ubuntu jammy InRelease\n",
"Get:10 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]\n",
"Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,409 kB]\n",
"Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [2,664 kB]\n",
"Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2,258 kB]\n",
"Get:14 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages [973 kB]\n",
"Get:15 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2,585 kB]\n",
"Get:16 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,125 kB]\n",
"Get:17 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1,991 kB]\n",
"Fetched 13.4 MB in 2s (6,201 kB/s)\n",
"Reading package lists... Done\n",
"Reading package lists... Done\n",
"Building dependency tree... Done\n",
"Reading state information... Done\n",
"libgl1 is already the newest version (1.4.0-1).\n",
"ca-certificates is already the newest version (20230311ubuntu0.22.04.1).\n",
"curl is already the newest version (7.81.0-1ubuntu1.16).\n",
"git is already the newest version (1:2.34.1-1ubuntu1.11).\n",
"libglib2.0-0 is already the newest version (2.72.4-0ubuntu2.3).\n",
"libglib2.0-0 set to manually installed.\n",
"software-properties-common is already the newest version (0.99.22.9).\n",
"unzip is already the newest version (6.0-26ubuntu3.2).\n",
"wget is already the newest version (1.21.2-2ubuntu1.1).\n",
"ffmpeg is already the newest version (7:4.4.2-0ubuntu0.22.04.1).\n",
"git-lfs is already the newest version (3.0.2-1ubuntu0.2).\n",
"gnupg2 is already the newest version (2.2.27-3ubuntu2.1).\n",
"The following additional packages will be installed:\n",
" fonts-opensymbol libabsl20210324 libabw-0.1-1 libcdr-0.1-1 libclucene-contribs1v5\n",
" libclucene-core1v5 libcolamd2 libe-book-0.1-1 libeot0 libepubgen-0.1-1 libetonyek-0.1-1\n",
" libexttextcat-2.0-0 libexttextcat-data libfontenc1 libfreehand-0.1-1 libgpgme11 libgpgmepp6\n",
" libharfbuzz-icu0 libhunspell-1.7-0 libhyphen0 liblangtag-common liblangtag1 libmhash2\n",
" libmspub-0.1-1 libmwaw-0.3-3 libmythes-1.2-0 libodfgen-0.1-1 liborcus-0.17-0\n",
" liborcus-parser-0.17-0 libpagemaker-0.0-0 libraptor2-0 librasqal3 librdf0 libreoffice-base\n",
" libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common\n",
" libreoffice-core libreoffice-draw libreoffice-impress libreoffice-math\n",
" libreoffice-report-builder-bin libreoffice-style-colibre libreoffice-writer librevenge-0.0-0\n",
" libsuitesparseconfig5 libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3\n",
" libuno-salhelpergcc3-3 libvisio-0.1-1 libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libxfont2\n",
" libxkbfile1 libxmlsec1 libxmlsec1-nss libyajl2 lp-solve python3-uno uno-libs-private ure\n",
" x11-xkb-utils xserver-common\n",
"Suggested packages:\n",
" raptor2-utils rasqal-utils librdf-storage-postgresql librdf-storage-mysql librdf-storage-sqlite\n",
" librdf-storage-virtuoso redland-utils cups-bsd firefox | firefox-esr | thunderbird ghostscript\n",
" gpa hunspell-dictionary hyphen-hyphenation-patterns imagemagick\n",
" | graphicsmagick-imagemagick-compat libreoffice-grammarcheck libreoffice-help libreoffice-l10n\n",
" libreoffice-librelogo myspell-dictionary mythes-thesaurus openclipart-libreoffice pstoedit\n",
" unixodbc gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly\n",
" gstreamer1.0-plugins-bad gstreamer1.0-libav default-jre | java8-runtime | jre libsane1\n",
" libofficebean-java libreoffice-report-builder libjtds-java libreoffice-sdbc-mysql | libmyodbc\n",
" | libmariadb-java libreoffice-sdbc-postgresql | odbc-postgresql | libpg-java libsqliteodbc\n",
" | tdsodbc | odbc-mdbtools bluez fonts-crosextra-caladea fonts-crosextra-carlito\n",
" libreoffice-java-common\n",
"Recommended packages:\n",
" hunspell-en-us | hunspell-dictionary | myspell-dictionary fonts-crosextra-caladea\n",
" fonts-crosextra-carlito fonts-dejavu fonts-liberation2 fonts-linuxlibertine fonts-noto-core\n",
" fonts-noto-extra fonts-noto-mono fonts-noto-ui-core fonts-sil-gentium-basic libreoffice-gnome\n",
" | libreoffice-plasma libreoffice-nlpsolver libreoffice-report-builder\n",
" libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-script-provider-python\n",
" libreoffice-sdbc-mysql libreoffice-sdbc-postgresql libreoffice-wiki-publisher\n",
" libreoffice-java-common default-jre | java8-runtime | jre libreoffice-sdbc-hsqldb\n",
" libreoffice-sdbc-firebird fonts-liberation2 | ttf-mscorefonts-installer apparmor poppler-data\n",
" xfonts-base\n",
"The following NEW packages will be installed:\n",
" apt-transport-https fonts-opensymbol libabsl20210324 libabw-0.1-1 libcdr-0.1-1\n",
" libclucene-contribs1v5 libclucene-core1v5 libcolamd2 libe-book-0.1-1 libeot0 libepubgen-0.1-1\n",
" libetonyek-0.1-1 libexttextcat-2.0-0 libexttextcat-data libfontenc1 libfreehand-0.1-1 libgpgme11\n",
" libgpgmepp6 libharfbuzz-icu0 libhunspell-1.7-0 libhyphen0 liblangtag-common liblangtag1 libmhash2\n",
" libmspub-0.1-1 libmwaw-0.3-3 libmythes-1.2-0 libodfgen-0.1-1 liborcus-0.17-0\n",
" liborcus-parser-0.17-0 libpagemaker-0.0-0 libraptor2-0 librasqal3 librdf0 libreoffice\n",
" libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc\n",
" libreoffice-common libreoffice-core libreoffice-draw libreoffice-impress libreoffice-math\n",
" libreoffice-report-builder-bin libreoffice-style-colibre libreoffice-writer librevenge-0.0-0\n",
" libsuitesparseconfig5 libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3\n",
" libuno-salhelpergcc3-3 libvisio-0.1-1 libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libxfont2\n",
" libxkbfile1 libxmlsec1 libxmlsec1-nss libyajl2 lp-solve python3-uno uno-libs-private ure\n",
" x11-xkb-utils xserver-common xvfb\n",
"0 upgraded, 70 newly installed, 0 to remove and 45 not upgraded.\n",
"Need to get 107 MB of archives.\n",
"After this operation, 368 MB of additional disk space will be used.\n",
"Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 fonts-opensymbol all 2:102.12+LibO7.3.7-0ubuntu0.22.04.5 [103 kB]\n",
"Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libreoffice-style-colibre all 1:7.3.7-0ubuntu0.22.04.5 [1,294 kB]\n",
"Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libuno-sal3 amd64 1:7.3.7-0ubuntu0.22.04.5 [196 kB]\n",
"Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libuno-salhelpergcc3-3 amd64 1:7.3.7-0ubuntu0.22.04.5 [17.0 kB]\n",
"Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libuno-cppu3 amd64 1:7.3.7-0ubuntu0.22.04.5 [87.8 kB]\n",
"Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 uno-libs-private amd64 1:7.3.7-0ubuntu0.22.04.5 [232 kB]\n",
"Get:7 http://archive.ubuntu.com/ubuntu jammy/main amd64 liblangtag-common all 0.6.3-2ubuntu1 [193 kB]\n",
"Get:8 http://archive.ubuntu.com/ubuntu jammy/main amd64 liblangtag1 amd64 0.6.3-2ubuntu1 [53.8 kB]\n",
"Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libuno-cppuhelpergcc3-3 amd64 1:7.3.7-0ubuntu0.22.04.5 [343 kB]\n",
"Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libuno-purpenvhelpergcc3-3 amd64 1:7.3.7-0ubuntu0.22.04.5 [15.8 kB]\n",
"Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 ure amd64 1:7.3.7-0ubuntu0.22.04.5 [1,312 kB]\n",
"Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libreoffice-common all 1:7.3.7-0ubuntu0.22.04.5 [23.4 MB]\n",
"Get:13 http://archive.ubuntu.com/ubuntu jammy/main amd64 libabsl20210324 amd64 0~20210324.2-2 [387 kB]\n",
"Get:14 http://archive.ubuntu.com/ubuntu jammy/main amd64 libclucene-core1v5 amd64 2.3.3.4+dfsg-1ubuntu5 [530 kB]\n",
"Get:15 http://archive.ubuntu.com/ubuntu jammy/main amd64 libclucene-contribs1v5 amd64 2.3.3.4+dfsg-1ubuntu5 [96.7 kB]\n",
"Get:16 http://archive.ubuntu.com/ubuntu jammy/main amd64 libeot0 amd64 0.01-5build2 [28.5 kB]\n",
"Get:17 http://archive.ubuntu.com/ubuntu jammy/main amd64 libexttextcat-data all 3.4.5-1build2 [179 kB]\n",
"Get:18 http://archive.ubuntu.com/ubuntu jammy/main amd64 libexttextcat-2.0-0 amd64 3.4.5-1build2 [13.7 kB]\n",
"Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgpgme11 amd64 1.16.0-1.2ubuntu4.2 [136 kB]\n",
"Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgpgmepp6 amd64 1.16.0-1.2ubuntu4.2 [109 kB]\n",
"Get:21 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libharfbuzz-icu0 amd64 2.7.4-1ubuntu3.1 [5,886 B]\n",
"Get:22 http://archive.ubuntu.com/ubuntu jammy/main amd64 libhunspell-1.7-0 amd64 1.7.0-4build1 [175 kB]\n",
"Get:23 http://archive.ubuntu.com/ubuntu jammy/main amd64 libhyphen0 amd64 2.8.8-7build2 [28.2 kB]\n",
"Get:24 http://archive.ubuntu.com/ubuntu jammy/main amd64 libmythes-1.2-0 amd64 2:1.2.4-4build1 [9,352 B]\n",
"Get:25 http://archive.ubuntu.com/ubuntu jammy/main amd64 liborcus-parser-0.17-0 amd64 0.17.2-2 [107 kB]\n",
"Get:26 http://archive.ubuntu.com/ubuntu jammy/main amd64 liborcus-0.17-0 amd64 0.17.2-2 [393 kB]\n",
"Get:27 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libyajl2 amd64 2.1.0-3ubuntu0.22.04.1 [21.0 kB]\n",
"Get:28 http://archive.ubuntu.com/ubuntu jammy/main amd64 libraptor2-0 amd64 2.0.15-0ubuntu4 [172 kB]\n",
"Get:29 http://archive.ubuntu.com/ubuntu jammy/main amd64 libmhash2 amd64 0.9.9.9-9build2 [95.9 kB]\n",
"Get:30 http://archive.ubuntu.com/ubuntu jammy/main amd64 librasqal3 amd64 0.9.33-0.2ubuntu1 [193 kB]\n",
"Get:31 http://archive.ubuntu.com/ubuntu jammy/main amd64 librdf0 amd64 1.0.17-1.1ubuntu3 [106 kB]\n",
"Get:32 http://archive.ubuntu.com/ubuntu jammy/main amd64 librevenge-0.0-0 amd64 0.0.4-6ubuntu7 [209 kB]\n",
"Get:33 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxmlsec1 amd64 1.2.33-1build2 [139 kB]\n",
"Get:34 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxmlsec1-nss amd64 1.2.33-1build2 [67.7 kB]\n",
"Get:35 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libreoffice-core amd64 1:7.3.7-0ubuntu0.22.04.5 [40.4 MB]\n",
"Get:36 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libreoffice-base-core amd64 1:7.3.7-0ubuntu0.22.04.5 [974 kB]\n",
"Get:37 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libreoffice-base-drivers amd64 1:7.3.7-0ubuntu0.22.04.5 [602 kB]\n",
"Get:38 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libreoffice-base amd64 1:7.3.7-0ubuntu0.22.04.5 [1,725 kB]\n",
"Get:39 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 apt-transport-https all 2.4.12 [1,510 B]\n",
"Get:40 http://archive.ubuntu.com/ubuntu jammy/main amd64 libabw-0.1-1 amd64 0.1.3-1build3 [102 kB]\n",
"Get:41 http://archive.ubuntu.com/ubuntu jammy/main amd64 libcdr-0.1-1 amd64 0.1.6-2build2 [392 kB]\n",
"Get:42 http://archive.ubuntu.com/ubuntu jammy/main amd64 libsuitesparseconfig5 amd64 1:5.10.1+dfsg-4build1 [10.4 kB]\n",
"Get:43 http://archive.ubuntu.com/ubuntu jammy/main amd64 libcolamd2 amd64 1:5.10.1+dfsg-4build1 [18.0 kB]\n",
"Get:44 http://archive.ubuntu.com/ubuntu jammy/main amd64 libe-book-0.1-1 amd64 0.1.3-2build2 [148 kB]\n",
"Get:45 http://archive.ubuntu.com/ubuntu jammy/main amd64 libepubgen-0.1-1 amd64 0.1.1-1ubuntu5 [120 kB]\n",
"Get:46 http://archive.ubuntu.com/ubuntu jammy/main amd64 libetonyek-0.1-1 amd64 0.1.10-3build1 [637 kB]\n",
"Get:47 http://archive.ubuntu.com/ubuntu jammy/main amd64 libfontenc1 amd64 1:1.1.4-1build3 [14.7 kB]\n",
"Get:48 http://archive.ubuntu.com/ubuntu jammy/main amd64 libfreehand-0.1-1 amd64 0.1.2-3build2 [272 kB]\n",
"Get:49 http://archive.ubuntu.com/ubuntu jammy/main amd64 libmspub-0.1-1 amd64 0.1.4-3build3 [144 kB]\n",
"Get:50 http://archive.ubuntu.com/ubuntu jammy/main amd64 libmwaw-0.3-3 amd64 0.3.21-1build1 [2,375 kB]\n",
"Get:51 http://archive.ubuntu.com/ubuntu jammy/main amd64 libodfgen-0.1-1 amd64 0.1.8-2build2 [245 kB]\n",
"Get:52 http://archive.ubuntu.com/ubuntu jammy/main amd64 libpagemaker-0.0-0 amd64 0.0.4-1build3 [55.9 kB]\n",
"Get:53 http://archive.ubuntu.com/ubuntu jammy/main amd64 lp-solve amd64 5.5.2.5-2build2 [315 kB]\n",
"Get:54 http://archive.ubuntu.com/ubuntu jammy/main amd64 libwps-0.4-4 amd64 0.4.12-2build1 [812 kB]\n",
"Get:55 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libreoffice-calc amd64 1:7.3.7-0ubuntu0.22.04.5 [8,426 kB]\n",
"Get:56 http://archive.ubuntu.com/ubuntu jammy/main amd64 libvisio-0.1-1 amd64 0.1.7-1build5 [238 kB]\n",
"Get:57 http://archive.ubuntu.com/ubuntu jammy/main amd64 libwpd-0.10-10 amd64 0.10.3-2build1 [209 kB]\n",
"Get:58 http://archive.ubuntu.com/ubuntu jammy/main amd64 libwpg-0.3-3 amd64 0.3.3-1build3 [49.9 kB]\n",
"Get:59 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libreoffice-draw amd64 1:7.3.7-0ubuntu0.22.04.5 [3,227 kB]\n",
"Get:60 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libreoffice-impress amd64 1:7.3.7-0ubuntu0.22.04.5 [1,359 kB]\n",
"Get:61 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libreoffice-math amd64 1:7.3.7-0ubuntu0.22.04.5 [597 kB]\n",
"Get:62 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libreoffice-report-builder-bin amd64 1:7.3.7-0ubuntu0.22.04.5 [970 kB]\n",
"Get:63 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libreoffice-writer amd64 1:7.3.7-0ubuntu0.22.04.5 [10.3 MB]\n",
"Get:64 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-uno amd64 1:7.3.7-0ubuntu0.22.04.5 [148 kB]\n",
"Get:65 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libreoffice amd64 1:7.3.7-0ubuntu0.22.04.5 [12.9 kB]\n",
"Get:66 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxfont2 amd64 1:2.0.5-1build1 [94.5 kB]\n",
"Get:67 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxkbfile1 amd64 1:1.1.0-1build3 [71.8 kB]\n",
"Get:68 http://archive.ubuntu.com/ubuntu jammy/main amd64 x11-xkb-utils amd64 7.7+5build4 [172 kB]\n",
"Get:69 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 xserver-common all 2:21.1.4-2ubuntu1.7~22.04.10 [28.5 kB]\n",
"Get:70 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 xvfb amd64 2:21.1.4-2ubuntu1.7~22.04.10 [863 kB]\n",
"Fetched 107 MB in 1s (77.3 MB/s)\n",
"Extracting templates from packages: 100%\n",
"Selecting previously unselected package fonts-opensymbol.\n",
"(Reading database ... 121925 files and directories currently installed.)\n",
"Preparing to unpack .../00-fonts-opensymbol_2%3a102.12+LibO7.3.7-0ubuntu0.22.04.5_all.deb ...\n",
"Unpacking fonts-opensymbol (2:102.12+LibO7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libreoffice-style-colibre.\n",
"Preparing to unpack .../01-libreoffice-style-colibre_1%3a7.3.7-0ubuntu0.22.04.5_all.deb ...\n",
"Unpacking libreoffice-style-colibre (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libuno-sal3.\n",
"Preparing to unpack .../02-libuno-sal3_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libuno-sal3 (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libuno-salhelpergcc3-3.\n",
"Preparing to unpack .../03-libuno-salhelpergcc3-3_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libuno-salhelpergcc3-3 (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libuno-cppu3.\n",
"Preparing to unpack .../04-libuno-cppu3_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libuno-cppu3 (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package uno-libs-private.\n",
"Preparing to unpack .../05-uno-libs-private_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking uno-libs-private (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package liblangtag-common.\n",
"Preparing to unpack .../06-liblangtag-common_0.6.3-2ubuntu1_all.deb ...\n",
"Unpacking liblangtag-common (0.6.3-2ubuntu1) ...\n",
"Selecting previously unselected package liblangtag1:amd64.\n",
"Preparing to unpack .../07-liblangtag1_0.6.3-2ubuntu1_amd64.deb ...\n",
"Unpacking liblangtag1:amd64 (0.6.3-2ubuntu1) ...\n",
"Selecting previously unselected package libuno-cppuhelpergcc3-3.\n",
"Preparing to unpack .../08-libuno-cppuhelpergcc3-3_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libuno-cppuhelpergcc3-3 (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libuno-purpenvhelpergcc3-3.\n",
"Preparing to unpack .../09-libuno-purpenvhelpergcc3-3_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libuno-purpenvhelpergcc3-3 (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package ure.\n",
"Preparing to unpack .../10-ure_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking ure (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libreoffice-common.\n",
"Preparing to unpack .../11-libreoffice-common_1%3a7.3.7-0ubuntu0.22.04.5_all.deb ...\n",
"Unpacking libreoffice-common (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libabsl20210324:amd64.\n",
"Preparing to unpack .../12-libabsl20210324_0~20210324.2-2_amd64.deb ...\n",
"Unpacking libabsl20210324:amd64 (0~20210324.2-2) ...\n",
"Selecting previously unselected package libclucene-core1v5:amd64.\n",
"Preparing to unpack .../13-libclucene-core1v5_2.3.3.4+dfsg-1ubuntu5_amd64.deb ...\n",
"Unpacking libclucene-core1v5:amd64 (2.3.3.4+dfsg-1ubuntu5) ...\n",
"Selecting previously unselected package libclucene-contribs1v5:amd64.\n",
"Preparing to unpack .../14-libclucene-contribs1v5_2.3.3.4+dfsg-1ubuntu5_amd64.deb ...\n",
"Unpacking libclucene-contribs1v5:amd64 (2.3.3.4+dfsg-1ubuntu5) ...\n",
"Selecting previously unselected package libeot0:amd64.\n",
"Preparing to unpack .../15-libeot0_0.01-5build2_amd64.deb ...\n",
"Unpacking libeot0:amd64 (0.01-5build2) ...\n",
"Selecting previously unselected package libexttextcat-data.\n",
"Preparing to unpack .../16-libexttextcat-data_3.4.5-1build2_all.deb ...\n",
"Unpacking libexttextcat-data (3.4.5-1build2) ...\n",
"Selecting previously unselected package libexttextcat-2.0-0:amd64.\n",
"Preparing to unpack .../17-libexttextcat-2.0-0_3.4.5-1build2_amd64.deb ...\n",
"Unpacking libexttextcat-2.0-0:amd64 (3.4.5-1build2) ...\n",
"Selecting previously unselected package libgpgme11:amd64.\n",
"Preparing to unpack .../18-libgpgme11_1.16.0-1.2ubuntu4.2_amd64.deb ...\n",
"Unpacking libgpgme11:amd64 (1.16.0-1.2ubuntu4.2) ...\n",
"Selecting previously unselected package libgpgmepp6:amd64.\n",
"Preparing to unpack .../19-libgpgmepp6_1.16.0-1.2ubuntu4.2_amd64.deb ...\n",
"Unpacking libgpgmepp6:amd64 (1.16.0-1.2ubuntu4.2) ...\n",
"Selecting previously unselected package libharfbuzz-icu0:amd64.\n",
"Preparing to unpack .../20-libharfbuzz-icu0_2.7.4-1ubuntu3.1_amd64.deb ...\n",
"Unpacking libharfbuzz-icu0:amd64 (2.7.4-1ubuntu3.1) ...\n",
"Selecting previously unselected package libhunspell-1.7-0:amd64.\n",
"Preparing to unpack .../21-libhunspell-1.7-0_1.7.0-4build1_amd64.deb ...\n",
"Unpacking libhunspell-1.7-0:amd64 (1.7.0-4build1) ...\n",
"Selecting previously unselected package libhyphen0:amd64.\n",
"Preparing to unpack .../22-libhyphen0_2.8.8-7build2_amd64.deb ...\n",
"Unpacking libhyphen0:amd64 (2.8.8-7build2) ...\n",
"Selecting previously unselected package libmythes-1.2-0:amd64.\n",
"Preparing to unpack .../23-libmythes-1.2-0_2%3a1.2.4-4build1_amd64.deb ...\n",
"Unpacking libmythes-1.2-0:amd64 (2:1.2.4-4build1) ...\n",
"Selecting previously unselected package liborcus-parser-0.17-0:amd64.\n",
"Preparing to unpack .../24-liborcus-parser-0.17-0_0.17.2-2_amd64.deb ...\n",
"Unpacking liborcus-parser-0.17-0:amd64 (0.17.2-2) ...\n",
"Selecting previously unselected package liborcus-0.17-0:amd64.\n",
"Preparing to unpack .../25-liborcus-0.17-0_0.17.2-2_amd64.deb ...\n",
"Unpacking liborcus-0.17-0:amd64 (0.17.2-2) ...\n",
"Selecting previously unselected package libyajl2:amd64.\n",
"Preparing to unpack .../26-libyajl2_2.1.0-3ubuntu0.22.04.1_amd64.deb ...\n",
"Unpacking libyajl2:amd64 (2.1.0-3ubuntu0.22.04.1) ...\n",
"Selecting previously unselected package libraptor2-0:amd64.\n",
"Preparing to unpack .../27-libraptor2-0_2.0.15-0ubuntu4_amd64.deb ...\n",
"Unpacking libraptor2-0:amd64 (2.0.15-0ubuntu4) ...\n",
"Selecting previously unselected package libmhash2:amd64.\n",
"Preparing to unpack .../28-libmhash2_0.9.9.9-9build2_amd64.deb ...\n",
"Unpacking libmhash2:amd64 (0.9.9.9-9build2) ...\n",
"Selecting previously unselected package librasqal3:amd64.\n",
"Preparing to unpack .../29-librasqal3_0.9.33-0.2ubuntu1_amd64.deb ...\n",
"Unpacking librasqal3:amd64 (0.9.33-0.2ubuntu1) ...\n",
"Selecting previously unselected package librdf0:amd64.\n",
"Preparing to unpack .../30-librdf0_1.0.17-1.1ubuntu3_amd64.deb ...\n",
"Unpacking librdf0:amd64 (1.0.17-1.1ubuntu3) ...\n",
"Selecting previously unselected package librevenge-0.0-0:amd64.\n",
"Preparing to unpack .../31-librevenge-0.0-0_0.0.4-6ubuntu7_amd64.deb ...\n",
"Unpacking librevenge-0.0-0:amd64 (0.0.4-6ubuntu7) ...\n",
"Selecting previously unselected package libxmlsec1:amd64.\n",
"Preparing to unpack .../32-libxmlsec1_1.2.33-1build2_amd64.deb ...\n",
"Unpacking libxmlsec1:amd64 (1.2.33-1build2) ...\n",
"Selecting previously unselected package libxmlsec1-nss:amd64.\n",
"Preparing to unpack .../33-libxmlsec1-nss_1.2.33-1build2_amd64.deb ...\n",
"Unpacking libxmlsec1-nss:amd64 (1.2.33-1build2) ...\n",
"Selecting previously unselected package libreoffice-core.\n",
"Preparing to unpack .../34-libreoffice-core_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libreoffice-core (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libreoffice-base-core.\n",
"Preparing to unpack .../35-libreoffice-base-core_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libreoffice-base-core (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libreoffice-base-drivers.\n",
"Preparing to unpack .../36-libreoffice-base-drivers_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libreoffice-base-drivers (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libreoffice-base.\n",
"Preparing to unpack .../37-libreoffice-base_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"No diversion 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base', none removed.\n",
"No diversion 'diversion of /usr/lib/libreoffice/share/basic/script.xlc to /usr/lib/libreoffice/share/basic/script.xlc.noaccess by libreoffice-base', none removed.\n",
"Unpacking libreoffice-base (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package apt-transport-https.\n",
"Preparing to unpack .../38-apt-transport-https_2.4.12_all.deb ...\n",
"Unpacking apt-transport-https (2.4.12) ...\n",
"Selecting previously unselected package libabw-0.1-1:amd64.\n",
"Preparing to unpack .../39-libabw-0.1-1_0.1.3-1build3_amd64.deb ...\n",
"Unpacking libabw-0.1-1:amd64 (0.1.3-1build3) ...\n",
"Selecting previously unselected package libcdr-0.1-1:amd64.\n",
"Preparing to unpack .../40-libcdr-0.1-1_0.1.6-2build2_amd64.deb ...\n",
"Unpacking libcdr-0.1-1:amd64 (0.1.6-2build2) ...\n",
"Selecting previously unselected package libsuitesparseconfig5:amd64.\n",
"Preparing to unpack .../41-libsuitesparseconfig5_1%3a5.10.1+dfsg-4build1_amd64.deb ...\n",
"Unpacking libsuitesparseconfig5:amd64 (1:5.10.1+dfsg-4build1) ...\n",
"Selecting previously unselected package libcolamd2:amd64.\n",
"Preparing to unpack .../42-libcolamd2_1%3a5.10.1+dfsg-4build1_amd64.deb ...\n",
"Unpacking libcolamd2:amd64 (1:5.10.1+dfsg-4build1) ...\n",
"Selecting previously unselected package libe-book-0.1-1:amd64.\n",
"Preparing to unpack .../43-libe-book-0.1-1_0.1.3-2build2_amd64.deb ...\n",
"Unpacking libe-book-0.1-1:amd64 (0.1.3-2build2) ...\n",
"Selecting previously unselected package libepubgen-0.1-1:amd64.\n",
"Preparing to unpack .../44-libepubgen-0.1-1_0.1.1-1ubuntu5_amd64.deb ...\n",
"Unpacking libepubgen-0.1-1:amd64 (0.1.1-1ubuntu5) ...\n",
"Selecting previously unselected package libetonyek-0.1-1:amd64.\n",
"Preparing to unpack .../45-libetonyek-0.1-1_0.1.10-3build1_amd64.deb ...\n",
"Unpacking libetonyek-0.1-1:amd64 (0.1.10-3build1) ...\n",
"Selecting previously unselected package libfontenc1:amd64.\n",
"Preparing to unpack .../46-libfontenc1_1%3a1.1.4-1build3_amd64.deb ...\n",
"Unpacking libfontenc1:amd64 (1:1.1.4-1build3) ...\n",
"Selecting previously unselected package libfreehand-0.1-1.\n",
"Preparing to unpack .../47-libfreehand-0.1-1_0.1.2-3build2_amd64.deb ...\n",
"Unpacking libfreehand-0.1-1 (0.1.2-3build2) ...\n",
"Selecting previously unselected package libmspub-0.1-1:amd64.\n",
"Preparing to unpack .../48-libmspub-0.1-1_0.1.4-3build3_amd64.deb ...\n",
"Unpacking libmspub-0.1-1:amd64 (0.1.4-3build3) ...\n",
"Selecting previously unselected package libmwaw-0.3-3:amd64.\n",
"Preparing to unpack .../49-libmwaw-0.3-3_0.3.21-1build1_amd64.deb ...\n",
"Unpacking libmwaw-0.3-3:amd64 (0.3.21-1build1) ...\n",
"Selecting previously unselected package libodfgen-0.1-1:amd64.\n",
"Preparing to unpack .../50-libodfgen-0.1-1_0.1.8-2build2_amd64.deb ...\n",
"Unpacking libodfgen-0.1-1:amd64 (0.1.8-2build2) ...\n",
"Selecting previously unselected package libpagemaker-0.0-0:amd64.\n",
"Preparing to unpack .../51-libpagemaker-0.0-0_0.0.4-1build3_amd64.deb ...\n",
"Unpacking libpagemaker-0.0-0:amd64 (0.0.4-1build3) ...\n",
"Selecting previously unselected package lp-solve.\n",
"Preparing to unpack .../52-lp-solve_5.5.2.5-2build2_amd64.deb ...\n",
"Unpacking lp-solve (5.5.2.5-2build2) ...\n",
"Selecting previously unselected package libwps-0.4-4:amd64.\n",
"Preparing to unpack .../53-libwps-0.4-4_0.4.12-2build1_amd64.deb ...\n",
"Unpacking libwps-0.4-4:amd64 (0.4.12-2build1) ...\n",
"Selecting previously unselected package libreoffice-calc.\n",
"Preparing to unpack .../54-libreoffice-calc_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libreoffice-calc (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libvisio-0.1-1:amd64.\n",
"Preparing to unpack .../55-libvisio-0.1-1_0.1.7-1build5_amd64.deb ...\n",
"Unpacking libvisio-0.1-1:amd64 (0.1.7-1build5) ...\n",
"Selecting previously unselected package libwpd-0.10-10:amd64.\n",
"Preparing to unpack .../56-libwpd-0.10-10_0.10.3-2build1_amd64.deb ...\n",
"Unpacking libwpd-0.10-10:amd64 (0.10.3-2build1) ...\n",
"Selecting previously unselected package libwpg-0.3-3:amd64.\n",
"Preparing to unpack .../57-libwpg-0.3-3_0.3.3-1build3_amd64.deb ...\n",
"Unpacking libwpg-0.3-3:amd64 (0.3.3-1build3) ...\n",
"Selecting previously unselected package libreoffice-draw.\n",
"Preparing to unpack .../58-libreoffice-draw_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libreoffice-draw (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libreoffice-impress.\n",
"Preparing to unpack .../59-libreoffice-impress_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libreoffice-impress (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libreoffice-math.\n",
"Preparing to unpack .../60-libreoffice-math_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libreoffice-math (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libreoffice-report-builder-bin.\n",
"Preparing to unpack .../61-libreoffice-report-builder-bin_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libreoffice-report-builder-bin (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libreoffice-writer.\n",
"Preparing to unpack .../62-libreoffice-writer_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libreoffice-writer (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package python3-uno.\n",
"Preparing to unpack .../63-python3-uno_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking python3-uno (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libreoffice.\n",
"Preparing to unpack .../64-libreoffice_1%3a7.3.7-0ubuntu0.22.04.5_amd64.deb ...\n",
"Unpacking libreoffice (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Selecting previously unselected package libxfont2:amd64.\n",
"Preparing to unpack .../65-libxfont2_1%3a2.0.5-1build1_amd64.deb ...\n",
"Unpacking libxfont2:amd64 (1:2.0.5-1build1) ...\n",
"Selecting previously unselected package libxkbfile1:amd64.\n",
"Preparing to unpack .../66-libxkbfile1_1%3a1.1.0-1build3_amd64.deb ...\n",
"Unpacking libxkbfile1:amd64 (1:1.1.0-1build3) ...\n",
"Selecting previously unselected package x11-xkb-utils.\n",
"Preparing to unpack .../67-x11-xkb-utils_7.7+5build4_amd64.deb ...\n",
"Unpacking x11-xkb-utils (7.7+5build4) ...\n",
"Selecting previously unselected package xserver-common.\n",
"Preparing to unpack .../68-xserver-common_2%3a21.1.4-2ubuntu1.7~22.04.10_all.deb ...\n",
"Unpacking xserver-common (2:21.1.4-2ubuntu1.7~22.04.10) ...\n",
"Selecting previously unselected package xvfb.\n",
"Preparing to unpack .../69-xvfb_2%3a21.1.4-2ubuntu1.7~22.04.10_amd64.deb ...\n",
"Unpacking xvfb (2:21.1.4-2ubuntu1.7~22.04.10) ...\n",
"Setting up libharfbuzz-icu0:amd64 (2.7.4-1ubuntu3.1) ...\n",
"Setting up apt-transport-https (2.4.12) ...\n",
"Setting up libhyphen0:amd64 (2.8.8-7build2) ...\n",
"Setting up libyajl2:amd64 (2.1.0-3ubuntu0.22.04.1) ...\n",
"Setting up libuno-sal3 (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up libeot0:amd64 (0.01-5build2) ...\n",
"Setting up libgpgme11:amd64 (1.16.0-1.2ubuntu4.2) ...\n",
"Setting up librevenge-0.0-0:amd64 (0.0.4-6ubuntu7) ...\n",
"Setting up libfontenc1:amd64 (1:1.1.4-1build3) ...\n",
"Setting up libreoffice-style-colibre (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up liborcus-parser-0.17-0:amd64 (0.17.2-2) ...\n",
"Setting up libfreehand-0.1-1 (0.1.2-3build2) ...\n",
"Setting up libclucene-core1v5:amd64 (2.3.3.4+dfsg-1ubuntu5) ...\n",
"Setting up libabsl20210324:amd64 (0~20210324.2-2) ...\n",
"Setting up libmhash2:amd64 (0.9.9.9-9build2) ...\n",
"Setting up libmythes-1.2-0:amd64 (2:1.2.4-4build1) ...\n",
"Setting up libexttextcat-data (3.4.5-1build2) ...\n",
"Setting up libabw-0.1-1:amd64 (0.1.3-1build3) ...\n",
"Setting up libepubgen-0.1-1:amd64 (0.1.1-1ubuntu5) ...\n",
"Setting up libuno-salhelpergcc3-3 (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up libxkbfile1:amd64 (1:1.1.0-1build3) ...\n",
"Setting up liblangtag-common (0.6.3-2ubuntu1) ...\n",
"Setting up libhunspell-1.7-0:amd64 (1.7.0-4build1) ...\n",
"Setting up libxmlsec1:amd64 (1.2.33-1build2) ...\n",
"Setting up libwpd-0.10-10:amd64 (0.10.3-2build1) ...\n",
"Setting up libxfont2:amd64 (1:2.0.5-1build1) ...\n",
"Setting up libsuitesparseconfig5:amd64 (1:5.10.1+dfsg-4build1) ...\n",
"Setting up fonts-opensymbol (2:102.12+LibO7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up libodfgen-0.1-1:amd64 (0.1.8-2build2) ...\n",
"Setting up libvisio-0.1-1:amd64 (0.1.7-1build5) ...\n",
"Setting up libwps-0.4-4:amd64 (0.4.12-2build1) ...\n",
"Setting up libcolamd2:amd64 (1:5.10.1+dfsg-4build1) ...\n",
"Setting up libexttextcat-2.0-0:amd64 (3.4.5-1build2) ...\n",
"Setting up libgpgmepp6:amd64 (1.16.0-1.2ubuntu4.2) ...\n",
"Setting up libmspub-0.1-1:amd64 (0.1.4-3build3) ...\n",
"Setting up x11-xkb-utils (7.7+5build4) ...\n",
"Setting up libraptor2-0:amd64 (2.0.15-0ubuntu4) ...\n",
"Setting up lp-solve (5.5.2.5-2build2) ...\n",
"Setting up libpagemaker-0.0-0:amd64 (0.0.4-1build3) ...\n",
"Setting up libmwaw-0.3-3:amd64 (0.3.21-1build1) ...\n",
"Setting up libcdr-0.1-1:amd64 (0.1.6-2build2) ...\n",
"Setting up liblangtag1:amd64 (0.6.3-2ubuntu1) ...\n",
"Setting up liborcus-0.17-0:amd64 (0.17.2-2) ...\n",
"Setting up libuno-cppu3 (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up libclucene-contribs1v5:amd64 (2.3.3.4+dfsg-1ubuntu5) ...\n",
"Setting up libwpg-0.3-3:amd64 (0.3.3-1build3) ...\n",
"Setting up libxmlsec1-nss:amd64 (1.2.33-1build2) ...\n",
"Setting up xserver-common (2:21.1.4-2ubuntu1.7~22.04.10) ...\n",
"Setting up libuno-purpenvhelpergcc3-3 (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up uno-libs-private (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up xvfb (2:21.1.4-2ubuntu1.7~22.04.10) ...\n",
"Setting up librasqal3:amd64 (0.9.33-0.2ubuntu1) ...\n",
"Setting up libetonyek-0.1-1:amd64 (0.1.10-3build1) ...\n",
"Setting up libe-book-0.1-1:amd64 (0.1.3-2build2) ...\n",
"Setting up librdf0:amd64 (1.0.17-1.1ubuntu3) ...\n",
"Setting up libuno-cppuhelpergcc3-3 (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up ure (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up libreoffice-common (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"\n",
"Creating config file /etc/libreoffice/registry/main.xcd with new version\n",
"\n",
"Creating config file /etc/libreoffice/registry/pdfimport.xcd with new version\n",
"\n",
"Creating config file /etc/libreoffice/registry/xsltfilter.xcd with new version\n",
"\n",
"Creating config file /etc/libreoffice/registry/lingucomponent.xcd with new version\n",
"\n",
"Creating config file /etc/libreoffice/registry/Langpack-en-US.xcd with new version\n",
"\n",
"Creating config file /etc/libreoffice/registry/res/fcfg_langpack_en-US.xcd with new version\n",
"Setting up libreoffice-core (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up libreoffice-math (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"\n",
"Creating config file /etc/libreoffice/registry/math.xcd with new version\n",
"Setting up libreoffice-draw (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"\n",
"Creating config file /etc/libreoffice/registry/draw.xcd with new version\n",
"\n",
"Creating config file /etc/libreoffice/registry/graphicfilter.xcd with new version\n",
"Setting up libreoffice-base-drivers (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up libreoffice-impress (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"\n",
"Creating config file /etc/libreoffice/registry/impress.xcd with new version\n",
"\n",
"Creating config file /etc/libreoffice/registry/ogltrans.xcd with new version\n",
"Setting up libreoffice-base-core (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up python3-uno (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"\n",
"Creating config file /etc/libreoffice/registry/pyuno.xcd with new version\n",
"Setting up libreoffice-calc (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"\n",
"Creating config file /etc/libreoffice/registry/calc.xcd with new version\n",
"Setting up libreoffice-base (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"\n",
"Creating config file /etc/libreoffice/registry/base.xcd with new version\n",
"Setting up libreoffice-writer (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"\n",
"Creating config file /etc/libreoffice/registry/writer.xcd with new version\n",
"Setting up libreoffice-report-builder-bin (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Setting up libreoffice (1:7.3.7-0ubuntu0.22.04.5) ...\n",
"Processing triggers for hicolor-icon-theme (0.17-2) ...\n",
"Processing triggers for libc-bin (2.35-0ubuntu3.4) ...\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbb.so.12 is not a symbolic link\n",
"\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc_proxy.so.2 is not a symbolic link\n",
"\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_5.so.3 is not a symbolic link\n",
"\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_0.so.3 is not a symbolic link\n",
"\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbbbind.so.3 is not a symbolic link\n",
"\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc.so.2 is not a symbolic link\n",
"\n",
"Processing triggers for man-db (2.10.2-1) ...\n",
"Processing triggers for shared-mime-info (2.1-2) ...\n",
"Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...\n",
"Detected operating system as Ubuntu/jammy.\n",
"Checking for curl...\n",
"Detected curl...\n",
"Checking for gpg...\n",
"Detected gpg...\n",
"Detected apt version as 2.4.12\n",
"Running apt-get update... done.\n",
"Installing apt-transport-https... done.\n",
"Installing /etc/apt/sources.list.d/github_git-lfs.list...done.\n",
"Importing packagecloud gpg key... Packagecloud gpg key imported to /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg\n",
"done.\n",
"Running apt-get update... done.\n",
"\n",
"The repository is setup! You can now install packages.\n",
"Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).\n",
"OK\n",
"Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1,825 B]\n",
"Hit:2 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease\n",
"Hit:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease\n",
"Hit:4 https://ppa.launchpadcontent.net/c2d4u.team/c2d4u4.0+/ubuntu jammy InRelease\n",
"Hit:5 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease\n",
"Hit:6 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease\n",
"Hit:7 http://security.ubuntu.com/ubuntu jammy-security InRelease\n",
"Hit:8 https://ppa.launchpadcontent.net/ubuntugis/ppa/ubuntu jammy InRelease\n",
"Hit:9 http://archive.ubuntu.com/ubuntu jammy InRelease\n",
"Hit:10 http://archive.ubuntu.com/ubuntu jammy-updates InRelease\n",
"Get:11 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,089 B]\n",
"Hit:12 http://archive.ubuntu.com/ubuntu jammy-backports InRelease\n",
"Hit:13 https://packagecloud.io/github/git-lfs/ubuntu jammy InRelease\n",
"Fetched 2,914 B in 2s (1,932 B/s)\n",
"Reading package lists... Done\n",
"W: http://dl.google.com/linux/chrome/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.\n",
"Reading package lists... Done\n",
"Building dependency tree... Done\n",
"Reading state information... Done\n",
"The following NEW packages will be installed:\n",
" python3-packaging\n",
"0 upgraded, 1 newly installed, 0 to remove and 46 not upgraded.\n",
"Need to get 30.7 kB of archives.\n",
"After this operation, 138 kB of additional disk space will be used.\n",
"Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-packaging all 21.3-1 [30.7 kB]\n",
"Fetched 30.7 kB in 0s (112 kB/s)\n",
"Selecting previously unselected package python3-packaging.\n",
"(Reading database ... 126391 files and directories currently installed.)\n",
"Preparing to unpack .../python3-packaging_21.3-1_all.deb ...\n",
"Unpacking python3-packaging (21.3-1) ...\n",
"Setting up python3-packaging (21.3-1) ...\n",
"Reading package lists... Done\n",
"Building dependency tree... Done\n",
"Reading state information... Done\n",
"The following additional packages will be installed:\n",
" libu2f-udev libudev1 libvulkan1 udev\n",
"Recommended packages:\n",
" mesa-vulkan-drivers | vulkan-icd systemd-hwe-hwdb\n",
"The following NEW packages will be installed:\n",
" google-chrome-stable libu2f-udev libvulkan1 udev\n",
"The following packages will be upgraded:\n",
" libudev1\n",
"1 upgraded, 4 newly installed, 0 to remove and 45 not upgraded.\n",
"Need to get 111 MB of archives.\n",
"After this operation, 359 MB of additional disk space will be used.\n",
"Get:1 http://dl.google.com/linux/chrome/deb stable/main amd64 google-chrome-stable amd64 126.0.6478.126-1 [109 MB]\n",
"Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libudev1 amd64 249.11-0ubuntu3.12 [78.2 kB]\n",
"Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 udev amd64 249.11-0ubuntu3.12 [1,557 kB]\n",
"Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 libu2f-udev all 1.1.10-3build2 [4,190 B]\n",
"Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 libvulkan1 amd64 1.3.204.1-2 [128 kB]\n",
"Fetched 111 MB in 1s (118 MB/s)\n",
"(Reading database ... 126412 files and directories currently installed.)\n",
"Preparing to unpack .../libudev1_249.11-0ubuntu3.12_amd64.deb ...\n",
"Unpacking libudev1:amd64 (249.11-0ubuntu3.12) over (249.11-0ubuntu3.10) ...\n",
"Setting up libudev1:amd64 (249.11-0ubuntu3.12) ...\n",
"Selecting previously unselected package udev.\n",
"(Reading database ... 126412 files and directories currently installed.)\n",
"Preparing to unpack .../udev_249.11-0ubuntu3.12_amd64.deb ...\n",
"Unpacking udev (249.11-0ubuntu3.12) ...\n",
"Selecting previously unselected package libu2f-udev.\n",
"Preparing to unpack .../libu2f-udev_1.1.10-3build2_all.deb ...\n",
"Unpacking libu2f-udev (1.1.10-3build2) ...\n",
"Selecting previously unselected package libvulkan1:amd64.\n",
"Preparing to unpack .../libvulkan1_1.3.204.1-2_amd64.deb ...\n",
"Unpacking libvulkan1:amd64 (1.3.204.1-2) ...\n",
"Selecting previously unselected package google-chrome-stable.\n",
"Preparing to unpack .../google-chrome-stable_126.0.6478.126-1_amd64.deb ...\n",
"Unpacking google-chrome-stable (126.0.6478.126-1) ...\n",
"Setting up udev (249.11-0ubuntu3.12) ...\n",
"invoke-rc.d: could not determine current runlevel\n",
"invoke-rc.d: policy-rc.d denied execution of start.\n",
"Setting up libvulkan1:amd64 (1.3.204.1-2) ...\n",
"Setting up libu2f-udev (1.1.10-3build2) ...\n",
"Setting up google-chrome-stable (126.0.6478.126-1) ...\n",
"update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode\n",
"update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode\n",
"update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode\n",
"Processing triggers for man-db (2.10.2-1) ...\n",
"Processing triggers for libc-bin (2.35-0ubuntu3.4) ...\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbb.so.12 is not a symbolic link\n",
"\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc_proxy.so.2 is not a symbolic link\n",
"\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_5.so.3 is not a symbolic link\n",
"\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_0.so.3 is not a symbolic link\n",
"\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbbbind.so.3 is not a symbolic link\n",
"\n",
"/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc.so.2 is not a symbolic link\n",
"\n",
"Archive: /tmp/chromedriver_linux64.zip\n",
" inflating: /tmp/chromedriver \n",
" inflating: /tmp/LICENSE.chromedriver \n",
"✅ Set up complete\n"
]
}
],
"source": [
"# Update and install necessary packages\n",
"!apt-get update && apt-get install -y --no-install-recommends \\\n",
" wget \\\n",
" curl \\\n",
" unzip \\\n",
" git \\\n",
" libgl1 \\\n",
" libglib2.0-0 \\\n",
" curl \\\n",
" gnupg2 \\\n",
" ca-certificates \\\n",
" apt-transport-https \\\n",
" software-properties-common \\\n",
" libreoffice \\\n",
" ffmpeg \\\n",
" git-lfs \\\n",
" xvfb \\\n",
" && ln -s /usr/bin/python3 /usr/bin/python \\\n",
" && curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \\\n",
" && wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \\\n",
" && echo \"deb http://dl.google.com/linux/chrome/deb/ stable main\" > /etc/apt/sources.list.d/google-chrome.list \\\n",
" && apt-get update \\\n",
" && apt install python3-packaging \\\n",
" && apt-get install -y --no-install-recommends google-chrome-stable \\\n",
" && rm -rf /var/lib/apt/lists/*\n",
"\n",
"# Download and install ChromeDriver\n",
"!CHROMEDRIVER_VERSION=$(curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE) && \\\n",
" wget -q -N https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip -P /tmp && \\\n",
" unzip -o /tmp/chromedriver_linux64.zip -d /tmp && \\\n",
" mv /tmp/chromedriver /usr/local/bin/chromedriver && \\\n",
" chmod +x /usr/local/bin/chromedriver && \\\n",
" rm /tmp/chromedriver_linux64.zip\n",
"\n",
"# Set environment variables\n",
"import os\n",
"os.environ['CHROME_BIN'] = '/usr/bin/google-chrome'\n",
"os.environ['CHROMEDRIVER'] = '/usr/local/bin/chromedriver'\n",
"os.environ['DISPLAY'] = ':99'\n",
"os.environ['DBUS_SESSION_BUS_ADDRESS'] = '/dev/null'\n",
"os.environ['PYTHONUNBUFFERED'] = '1'\n",
"\n",
"print(\"✅ Set up complete\")"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "vfwibtK4oLW9"
},
"source": [
"### Using Cloudflare tunnels (Recommended)\n",
"After the server is set up and cloudflare is available please go to /docs to access all the api endpoints"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "U_l14xEFgKpV",
"outputId": "38eea186-ff85-48ae-dcc5-7e40a9cb2d54"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"--2024-07-04 12:16:48-- https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb\n",
"Resolving github.com (github.com)... 140.82.121.3\n",
"Connecting to github.com (github.com)|140.82.121.3|:443... connected.\n",
"HTTP request sent, awaiting response... 302 Found\n",
"Location: https://github.com/cloudflare/cloudflared/releases/download/2024.6.1/cloudflared-linux-amd64.deb [following]\n",
"--2024-07-04 12:16:48-- https://github.com/cloudflare/cloudflared/releases/download/2024.6.1/cloudflared-linux-amd64.deb\n",
"Reusing existing connection to github.com:443.\n",
"HTTP request sent, awaiting response... 302 Found\n",
"Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/106867604/3e345268-c5d6-4324-8389-71790dcf95ac?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240704%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240704T121534Z&X-Amz-Expires=300&X-Amz-Signature=bc0bdd656ff15ff753e9bebce710df82224122decc005da1c76539d73421a250&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=106867604&response-content-disposition=attachment%3B%20filename%3Dcloudflared-linux-amd64.deb&response-content-type=application%2Foctet-stream [following]\n",
"--2024-07-04 12:16:48-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/106867604/3e345268-c5d6-4324-8389-71790dcf95ac?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240704%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240704T121534Z&X-Amz-Expires=300&X-Amz-Signature=bc0bdd656ff15ff753e9bebce710df82224122decc005da1c76539d73421a250&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=106867604&response-content-disposition=attachment%3B%20filename%3Dcloudflared-linux-amd64.deb&response-content-type=application%2Foctet-stream\n",
"Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
"Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.\n",
"HTTP request sent, awaiting response... 200 OK\n",
"Length: 18229818 (17M) [application/octet-stream]\n",
"Saving to: ‘cloudflared-linux-amd64.deb.2’\n",
"\n",
"cloudflared-linux-a 100%[===================>] 17.38M --.-KB/s in 0.07s \n",
"\n",
"2024-07-04 12:16:48 (241 MB/s) - ‘cloudflared-linux-amd64.deb.2’ saved [18229818/18229818]\n",
"\n",
"(Reading database ... 126658 files and directories currently installed.)\n",
"Preparing to unpack cloudflared-linux-amd64.deb ...\n",
"Unpacking cloudflared (2024.6.1) over (2024.6.1) ...\n",
"Setting up cloudflared (2024.6.1) ...\n",
"Processing triggers for man-db (2.10.2-1) ...\n",
"2024-07-04 12:16:57.398544: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n",
"2024-07-04 12:16:57.398590: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n",
"2024-07-04 12:16:57.540751: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n",
"2024-07-04 12:16:57.810812: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n",
"To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n",
"2024-07-04 12:17:00.141492: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n",
"/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_fields.py:161: UserWarning: Field \"model_list\" has conflict with protected namespace \"model_\".\n",
"\n",
"You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.\n",
" warnings.warn(\n",
"error: XDG_RUNTIME_DIR not set in the environment.\n",
"ALSA lib confmisc.c:855:(parse_card) cannot find card '0'\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory\n",
"ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory\n",
"ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory\n",
"ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory\n",
"ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default\n",
"ALSA lib confmisc.c:855:(parse_card) cannot find card '0'\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory\n",
"ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory\n",
"ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory\n",
"ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory\n",
"ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default\n",
"\n",
"\n",
" .88888. oo 888888ba \n",
" d8' `8b 88 `8b \n",
" 88 88 88d8b.d8b. 88d888b. dP a88aaaa8P' .d8888b. 88d888b. .d8888b. .d8888b. \n",
" 88 88 88'`88'`88 88' `88 88 88 88' `88 88' `88 Y8ooooo. 88ooood8 \n",
" Y8. .8P 88 88 88 88 88 88 88 88. .88 88 88 88. ... \n",
" `8888P' dP dP dP dP dP dP dP `88888P8 dP `88888P' `88888P' \n",
" \n",
" \n",
"\n",
"Created by Adithya S K : https://twitter.com/adithya_s_k\n",
"\n",
"\n",
"\n",
"\n",
"[LOG] ✅ Loading OCR Model\n",
"config.json: 100% 1.18k/1.18k [00:00<00:00, 7.52MB/s]\n",
"model.safetensors: 100% 120M/120M [00:00<00:00, 220MB/s]\n",
"Loaded detection model vikp/surya_det2 on device cuda with dtype torch.float16\n",
"preprocessor_config.json: 100% 430/430 [00:00<00:00, 2.73MB/s]\n",
"config.json: 100% 1.57k/1.57k [00:00<00:00, 12.4MB/s]\n",
"model.safetensors: 100% 120M/120M [00:00<00:00, 271MB/s]\n",
"Loaded detection model vikp/surya_layout2 on device cuda with dtype torch.float16\n",
"preprocessor_config.json: 100% 430/430 [00:00<00:00, 2.58MB/s]\n",
"config.json: 100% 5.04k/5.04k [00:00<00:00, 18.9MB/s]\n",
"model.safetensors: 100% 550M/550M [00:02<00:00, 272MB/s]\n",
"generation_config.json: 100% 160/160 [00:00<00:00, 1.25MB/s]\n",
"Loaded reading order model vikp/surya_order on device cuda with dtype torch.float16\n",
"preprocessor_config.json: 100% 684/684 [00:00<00:00, 3.94MB/s]\n",
"config.json: 100% 6.91k/6.91k [00:00<00:00, 42.9MB/s]\n",
"model.safetensors: 100% 1.05G/1.05G [00:04<00:00, 249MB/s]\n",
"generation_config.json: 100% 181/181 [00:00<00:00, 977kB/s]\n",
"Loaded recognition model vikp/surya_rec on device cuda with dtype torch.float16\n",
"preprocessor_config.json: 100% 608/608 [00:00<00:00, 2.12MB/s]\n",
"config.json: 100% 4.92k/4.92k [00:00<00:00, 21.3MB/s]\n",
"model.safetensors: 100% 625M/625M [00:05<00:00, 104MB/s]\n",
"generation_config.json: 100% 191/191 [00:00<00:00, 1.38MB/s]\n",
"Loaded texify model to cuda with torch.float16 dtype\n",
"preprocessor_config.json: 100% 617/617 [00:00<00:00, 4.08MB/s]\n",
"tokenizer_config.json: 100% 4.49k/4.49k [00:00<00:00, 20.7MB/s]\n",
"tokenizer.json: 100% 2.14M/2.14M [00:00<00:00, 5.21MB/s]\n",
"added_tokens.json: 100% 18.3k/18.3k [00:00<00:00, 60.7MB/s]\n",
"special_tokens_map.json: 100% 552/552 [00:00<00:00, 3.79MB/s]\n",
"[LOG] ✅ Loading Vision Model\n",
"config.json: 100% 2.43k/2.43k [00:00<00:00, 17.7MB/s]\n",
"configuration_florence2.py: 100% 15.1k/15.1k [00:00<00:00, 65.4MB/s]\n",
"A new version of the following files was downloaded from https://huggingface.co/microsoft/Florence-2-base:\n",
"- configuration_florence2.py\n",
". Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.\n",
"modeling_florence2.py: 100% 127k/127k [00:00<00:00, 256MB/s]\n",
"A new version of the following files was downloaded from https://huggingface.co/microsoft/Florence-2-base:\n",
"- modeling_florence2.py\n",
". Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.\n",
"pytorch_model.bin: 100% 464M/464M [00:01<00:00, 273MB/s]\n",
"preprocessor_config.json: 100% 806/806 [00:00<00:00, 4.72MB/s]\n",
"processing_florence2.py: 100% 46.4k/46.4k [00:00<00:00, 136MB/s]\n",
"A new version of the following files was downloaded from https://huggingface.co/microsoft/Florence-2-base:\n",
"- processing_florence2.py\n",
". Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.\n",
"tokenizer_config.json: 100% 34.0/34.0 [00:00<00:00, 221kB/s]\n",
"vocab.json: 100% 1.10M/1.10M [00:00<00:00, 3.39MB/s]\n",
"tokenizer.json: 100% 1.36M/1.36M [00:00<00:00, 26.7MB/s]\n",
"[LOG] ✅ Loading Audio Model\n",
"100%|████████████████████████████████████████| 461M/461M [00:04<00:00, 107MiB/s]\n",
"[LOG] ✅ Loading Web Crawler\n",
"\u001b[32mINFO\u001b[0m: Started server process [\u001b[36m10219\u001b[0m]\n",
"\u001b[32mINFO\u001b[0m: Waiting for application startup.\n",
"\u001b[32mINFO\u001b[0m: Application startup complete.\n",
"\u001b[32mINFO\u001b[0m: Uvicorn running on \u001b[1mhttp://127.0.0.1:8000\u001b[0m (Press CTRL+C to quit)\n",
"\n",
"OmniPrase API finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\n",
"\n",
"\n",
"OmniPrase API finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\n",
"\n",
"\\Omniparse finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\n",
"\n",
"\n",
"OmniPrase API finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\n",
"\n",
"The password/enpoint ip for localtunnel is: 34.90.93.81\n",
"your url is: https://yummy-corners-fix.loca.lt\n",
"This is the URL to access OmniPrase: https://recommends-bullet-lose-restriction.trycloudflare.com |\n",
"This is the URL to access OmniPrase: https://reception-matter-india-democratic.trycloudflare.com |\n",
"This is the URL to access OmniPrase: https://option-relating-brother-involvement.trycloudflare.com |\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET / HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/index-CFkTeYR6.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/index-DQ_Hu8W_.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/svelte/svelte.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-IwnOmiU7.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-BIeJ8CZE.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 34.83.203.92:0 - \"\u001b[1mGET / HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /favicon.ico HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/index-DQ_Hu8W_.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Blocks-yLdzXwzS.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Button-CTZL5Nos.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Button-B93iS7QI.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /theme.css?v=98e6f074f8ea1c8f23afa849d4ab06e7683210321bede27c710902965bd150a2 HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Blocks-TG5xkcR2.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 34.83.203.92:0 - \"\u001b[1mGET / HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 34.83.203.92:0 - \"\u001b[1mGET /favicon.ico HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example-BykwY3zp.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index.svelte_svelte_type_style_lang-DF8PvcSQ.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Tabs-CB0MnX0G.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-B2S_zKCm.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/prism-python-BaFWTAhG.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example.svelte_svelte_type_style_lang-BK-adyHR.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example-BazYAvvV.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-DvhlVJoD.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-BIKdNh36.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Tabs-DX5TEub2.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example-DpWs9cEC.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/FileUpload-2TE7T7kD.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/FileUpload-DsOh8gGS.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-thdqX2vf.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Undo-CpmTQw3B.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/ModifyUpload-D75O8jyP.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-BlD353fY.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-CptIZeFZ.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Upload-WBXuFMNH.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Empty-D--JkcvQ.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/DownloadLink-BA_CcWW8.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/BlockLabel-C-3Xp78Z.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-CODKbday.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-D4TDh9B5.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example-DrmWnoSo.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/file-url-BM5vV6hM.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/UploadText-B6LCdl6l.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/ModifyUpload-RL_SHQmd.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/File-BQ_9P3Ye.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Download-DVtk-Jv3.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Upload-Cp8Go_XF.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 34.83.203.92:0 - \"\u001b[1mGET / HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-XoaJnsQZ.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Image-DZB9yFtk.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Info-CPe1jTHo.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example-CUwox43B.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Image-B8dFOee4.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Check-Ck0iADAu.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/DropdownArrow-BHM2lpny.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/BlockTitle-DvVNTF2O.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example-Cj3ii62O.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example-Wp-_4AVX.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-BGmqBTg_.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-BD319sLY.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-HpGndY2i.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-DDCF2BFd.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-B8gUCbE4.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example-oomIF0ca.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-BAQumg2K.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-D8o7u_T6.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example-C7XUkkid.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-BrtrebwU.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Gallery-SLxopFpk.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Gallery-DWAbn2Yp.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Image-Bsh8Umrh.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-kdW9ZoP6.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-B0JJ6p9c.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-ITC1SMjd.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-729KAuZc.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-DZhI2Xi2.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/ShareButton-Dl_xecG6.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/ImagePreview-is-Jr839.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Copy-ZPOKSMtK.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Textbox-D8IAzrZj.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Textbox-CbrBsshm.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-DbntHlYt.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Example-D7K5RtQ2.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-CZA4JPsj.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-DXVL9dcX.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-C43SQM_O.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/Index-C5NYahSl.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 34.83.203.92:0 - \"\u001b[1mGET /assets/index-CFkTeYR6.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 34.83.203.92:0 - \"\u001b[1mGET /assets/index-DQ_Hu8W_.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/index-YxZ8ncZb.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/index-DNfRkfbt.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/index-D2SKHNb2.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /assets/shell-bahM2fKw.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mPOST /upload?upload_id=yfl5e70o25c HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mPOST /queue/join HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"Caption\n",
"\u001b[32mINFO\u001b[0m: 34.90.93.81:0 - \"\u001b[1mPOST /parse_image/process_image HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mGET /queue/data?session_hash=j1nwsigwgjg HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 2a02:6ea0:d14c:0:21b:21ff:febd:a96c:0 - \"\u001b[1mPOST /upload?upload_id=t7t9t8qykv HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: Shutting down\n",
"\u001b[32mINFO\u001b[0m: Finished server process [\u001b[36m10219\u001b[0m]\n",
"\u001b[31mERROR\u001b[0m: Traceback (most recent call last):\n",
" File \"/usr/lib/python3.10/asyncio/runners.py\", line 44, in run\n",
" return loop.run_until_complete(main)\n",
" File \"uvloop/loop.pyx\", line 1511, in uvloop.loop.Loop.run_until_complete\n",
" File \"uvloop/loop.pyx\", line 1504, in uvloop.loop.Loop.run_until_complete\n",
" File \"uvloop/loop.pyx\", line 1377, in uvloop.loop.Loop.run_forever\n",
" File \"uvloop/loop.pyx\", line 555, in uvloop.loop.Loop._run\n",
" File \"uvloop/loop.pyx\", line 474, in uvloop.loop.Loop._on_idle\n",
" File \"uvloop/cbhandles.pyx\", line 83, in uvloop.loop.Handle._run\n",
" File \"uvloop/cbhandles.pyx\", line 63, in uvloop.loop.Handle._run\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/server.py\", line 68, in serve\n",
" with self.capture_signals():\n",
" File \"/usr/lib/python3.10/contextlib.py\", line 142, in __exit__\n",
" next(self.gen)\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/server.py\", line 328, in capture_signals\n",
" signal.raise_signal(captured_signal)\n",
"KeyboardInterrupt\n",
"\n",
"During handling of the above exception, another exception occurred:\n",
"\n",
"Traceback (most recent call last):\n",
" File \"/usr/local/lib/python3.10/dist-packages/starlette/routing.py\", line 741, in lifespan\n",
" await receive()\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/lifespan/on.py\", line 137, in receive\n",
" return await self.receive_queue.get()\n",
" File \"/usr/lib/python3.10/asyncio/queues.py\", line 159, in get\n",
" await getter\n",
"asyncio.exceptions.CancelledError\n",
"\n",
"Traceback (most recent call last):\n",
" File \"/content/server.py\", line 62, in <module>\n",
" main()\n",
" File \"/content/server.py\", line 59, in main\n",
" uvicorn.run(\"server:app\", host=args.host, port=args.port , reload=args.reload)\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/main.py\", line 575, in run\n",
" server.run()\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/server.py\", line 65, in run\n",
" return asyncio.run(self.serve(sockets=sockets))\n",
" File \"/usr/lib/python3.10/asyncio/runners.py\", line 44, in run\n",
" return loop.run_until_complete(main)\n",
" File \"uvloop/loop.pyx\", line 1511, in uvloop.loop.Loop.run_until_complete\n",
" File \"uvloop/loop.pyx\", line 1504, in uvloop.loop.Loop.run_until_complete\n",
" File \"uvloop/loop.pyx\", line 1377, in uvloop.loop.Loop.run_forever\n",
" File \"uvloop/loop.pyx\", line 555, in uvloop.loop.Loop._run\n",
" File \"uvloop/loop.pyx\", line 474, in uvloop.loop.Loop._on_idle\n",
" File \"uvloop/cbhandles.pyx\", line 83, in uvloop.loop.Handle._run\n",
" File \"uvloop/cbhandles.pyx\", line 63, in uvloop.loop.Handle._run\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/server.py\", line 68, in serve\n",
" with self.capture_signals():\n",
" File \"/usr/lib/python3.10/contextlib.py\", line 142, in __exit__\n",
" next(self.gen)\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/server.py\", line 328, in capture_signals\n",
" signal.raise_signal(captured_signal)\n",
"KeyboardInterrupt\n",
"^C\n"
]
}
],
"source": [
"!wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb\n",
"!dpkg -i cloudflared-linux-amd64.deb\n",
"\n",
"\n",
"import subprocess\n",
"import threading\n",
"import time\n",
"import socket\n",
"import urllib.request\n",
"\n",
"def iframe_thread(port):\n",
" while True:\n",
" time.sleep(0.5)\n",
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
" result = sock.connect_ex(('127.0.0.1', port))\n",
" if result == 0:\n",
" break\n",
" sock.close()\n",
" print(\"\\nOmniPrase API finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\\n\")\n",
"\n",
" p = subprocess.Popen([\"cloudflared\", \"tunnel\", \"--url\", \"http://127.0.0.1:{}\".format(port)], stdout=subprocess.PIPE, stderr=subprocess.PIPE)\n",
" for line in p.stderr:\n",
" l = line.decode()\n",
" if \"trycloudflare.com \" in l:\n",
" print(\"This is the URL to access OmniPrase:\", l[l.find(\"http\"):], end='')\n",
" #print(l, end='')\n",
"\n",
"\n",
"threading.Thread(target=iframe_thread, daemon=True, args=(8000,)).start()\n",
"\n",
"!python server.py --host 127.0.0.1 --port 8000 --documents --media --web"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "43xmkZepoLW-"
},
"source": [
"### Forward using localtunnel"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "kj_Xx-VBij08",
"outputId": "c31378df-8b78-4de6-b300-ec383e2e1853"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"\u001b[K\u001b[?25h/tools/node/bin/lt -> /tools/node/lib/node_modules/localtunnel/bin/lt.js\n",
"+ localtunnel@2.0.2\n",
"updated 1 package in 1.173s\n",
"2024-07-04 12:34:43.850929: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n",
"2024-07-04 12:34:43.850977: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n",
"2024-07-04 12:34:43.852596: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n",
"2024-07-04 12:34:43.860563: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n",
"To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n",
"2024-07-04 12:34:45.823165: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n",
"/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_fields.py:161: UserWarning: Field \"model_list\" has conflict with protected namespace \"model_\".\n",
"\n",
"You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.\n",
" warnings.warn(\n",
"error: XDG_RUNTIME_DIR not set in the environment.\n",
"ALSA lib confmisc.c:855:(parse_card) cannot find card '0'\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory\n",
"ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory\n",
"ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory\n",
"ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory\n",
"ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default\n",
"ALSA lib confmisc.c:855:(parse_card) cannot find card '0'\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory\n",
"ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory\n",
"ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name\n",
"ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory\n",
"ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory\n",
"ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default\n",
"\n",
"\n",
" .88888. oo 888888ba \n",
" d8' `8b 88 `8b \n",
" 88 88 88d8b.d8b. 88d888b. dP a88aaaa8P' .d8888b. 88d888b. .d8888b. .d8888b. \n",
" 88 88 88'`88'`88 88' `88 88 88 88' `88 88' `88 Y8ooooo. 88ooood8 \n",
" Y8. .8P 88 88 88 88 88 88 88 88. .88 88 88 88. ... \n",
" `8888P' dP dP dP dP dP dP dP `88888P8 dP `88888P' `88888P' \n",
" \n",
" \n",
"\n",
"Created by Adithya S K : https://twitter.com/adithya_s_k\n",
"\n",
"\n",
"\n",
"\n",
"[LOG] ✅ Loading OCR Model\n",
"Loaded detection model vikp/surya_det2 on device cuda with dtype torch.float16\n",
"Loaded detection model vikp/surya_layout2 on device cuda with dtype torch.float16\n",
"Loaded reading order model vikp/surya_order on device cuda with dtype torch.float16\n",
"Loaded recognition model vikp/surya_rec on device cuda with dtype torch.float16\n",
"Loaded texify model to cuda with torch.float16 dtype\n",
"[LOG] ✅ Loading Vision Model\n",
"[LOG] ✅ Loading Audio Model\n",
"[LOG] ✅ Loading Web Crawler\n",
"\u001b[32mINFO\u001b[0m: Started server process [\u001b[36m14803\u001b[0m]\n",
"\u001b[32mINFO\u001b[0m: Waiting for application startup.\n",
"\u001b[32mINFO\u001b[0m: Application startup complete.\n",
"\u001b[32mINFO\u001b[0m: Uvicorn running on \u001b[1mhttp://127.0.0.1:8000\u001b[0m (Press CTRL+C to quit)\n",
"\\Omniparse finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\n",
"\n",
"The password/enpoint ip for localtunnel is: 34.90.93.81\n",
"your url is: https://bright-states-march.loca.lt\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET / HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/index-DQ_Hu8W_.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/index-CFkTeYR6.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/svelte/svelte.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-BIeJ8CZE.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-IwnOmiU7.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /favicon.ico HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/index-DQ_Hu8W_.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /theme.css?v=98e6f074f8ea1c8f23afa849d4ab06e7683210321bede27c710902965bd150a2 HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Blocks-yLdzXwzS.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Button-B93iS7QI.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Button-CTZL5Nos.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Blocks-TG5xkcR2.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-DvhlVJoD.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/ModifyUpload-RL_SHQmd.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/BlockLabel-C-3Xp78Z.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index.svelte_svelte_type_style_lang-DF8PvcSQ.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-BIKdNh36.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Tabs-CB0MnX0G.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Empty-D--JkcvQ.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-DbntHlYt.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example.svelte_svelte_type_style_lang-BK-adyHR.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example-BykwY3zp.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/File-BQ_9P3Ye.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-D4TDh9B5.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-thdqX2vf.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-B2S_zKCm.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-CODKbday.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/prism-python-BaFWTAhG.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Tabs-DX5TEub2.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-C43SQM_O.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Download-DVtk-Jv3.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Undo-CpmTQw3B.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Upload-WBXuFMNH.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/DownloadLink-BA_CcWW8.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/FileUpload-2TE7T7kD.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-C5NYahSl.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example-DpWs9cEC.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-DXVL9dcX.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example-D7K5RtQ2.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/UploadText-B6LCdl6l.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/file-url-BM5vV6hM.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Upload-Cp8Go_XF.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example-BazYAvvV.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/ModifyUpload-D75O8jyP.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example-DrmWnoSo.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-BlD353fY.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-CptIZeFZ.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example-CUwox43B.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-BAQumg2K.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-XoaJnsQZ.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/FileUpload-DsOh8gGS.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/DropdownArrow-BHM2lpny.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Info-CPe1jTHo.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/BlockTitle-DvVNTF2O.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-DDCF2BFd.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-B0JJ6p9c.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-ITC1SMjd.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Gallery-DWAbn2Yp.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Textbox-D8IAzrZj.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Image-B8dFOee4.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example-Wp-_4AVX.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/ShareButton-Dl_xecG6.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-kdW9ZoP6.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/ImagePreview-is-Jr839.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-D8o7u_T6.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example-C7XUkkid.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Gallery-SLxopFpk.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example-Cj3ii62O.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Check-Ck0iADAu.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-BD319sLY.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Copy-ZPOKSMtK.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Textbox-CbrBsshm.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-CZA4JPsj.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-HpGndY2i.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Image-Bsh8Umrh.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Example-oomIF0ca.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-BrtrebwU.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Image-DZB9yFtk.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-BGmqBTg_.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-729KAuZc.css HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-B8gUCbE4.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/Index-DZhI2Xi2.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/index-DNfRkfbt.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/index-D2SKHNb2.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/index-YxZ8ncZb.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /assets/shell-bahM2fKw.js HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mPOST /upload?upload_id=yxcskcyrmhd HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mPOST /queue/join HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"More Detailed Caption\n",
"\u001b[32mINFO\u001b[0m: 34.90.93.81:0 - \"\u001b[1mPOST /parse_image/process_image HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /queue/data?session_hash=q7489ljdjxg HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mPOST /upload?upload_id=24zildgjv6c HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mPOST /queue/join HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /queue/data?session_hash=q7489ljdjxg HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"Detecting bboxes: 100% 1/1 [00:01<00:00, 1.11s/it]\n",
"Recognizing Text: 100% 1/1 [00:01<00:00, 1.57s/it]\n",
"Detecting bboxes: 100% 1/1 [00:00<00:00, 1.66it/s]\n",
"Finding reading order: 100% 1/1 [00:00<00:00, 2.82it/s]\n",
"\u001b[32mINFO\u001b[0m: 34.90.93.81:0 - \"\u001b[1mPOST /parse_image/image HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /0_image_2.png HTTP/1.1\u001b[0m\" \u001b[31m404 Not Found\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /0_image_0.png HTTP/1.1\u001b[0m\" \u001b[31m404 Not Found\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /0_image_1.png HTTP/1.1\u001b[0m\" \u001b[31m404 Not Found\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /file%3D/tmp/gradio/c439fd89955cdfc5935f1c903ecf127b82c1a852/image.webp HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /file%3D/tmp/gradio/7fee003da86c072054fc5f5429e2e4ab2efa040e/image.webp HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: 169.150.243.35:0 - \"\u001b[1mGET /file%3D/tmp/gradio/01f1e94347653db15a4507660e6ef2bef6cf02db/image.webp HTTP/1.1\u001b[0m\" \u001b[32m200 OK\u001b[0m\n",
"\u001b[32mINFO\u001b[0m: Shutting down\n",
"\u001b[32mINFO\u001b[0m: Finished server process [\u001b[36m14803\u001b[0m]\n",
"\u001b[31mERROR\u001b[0m: Traceback (most recent call last):\n",
" File \"/usr/lib/python3.10/asyncio/runners.py\", line 44, in run\n",
" return loop.run_until_complete(main)\n",
" File \"uvloop/loop.pyx\", line 1511, in uvloop.loop.Loop.run_until_complete\n",
" File \"uvloop/loop.pyx\", line 1504, in uvloop.loop.Loop.run_until_complete\n",
" File \"uvloop/loop.pyx\", line 1377, in uvloop.loop.Loop.run_forever\n",
" File \"uvloop/loop.pyx\", line 555, in uvloop.loop.Loop._run\n",
" File \"uvloop/loop.pyx\", line 474, in uvloop.loop.Loop._on_idle\n",
" File \"uvloop/cbhandles.pyx\", line 83, in uvloop.loop.Handle._run\n",
" File \"uvloop/cbhandles.pyx\", line 63, in uvloop.loop.Handle._run\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/server.py\", line 68, in serve\n",
" with self.capture_signals():\n",
" File \"/usr/lib/python3.10/contextlib.py\", line 142, in __exit__\n",
" next(self.gen)\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/server.py\", line 328, in capture_signals\n",
" signal.raise_signal(captured_signal)\n",
"KeyboardInterrupt\n",
"\n",
"During handling of the above exception, another exception occurred:\n",
"\n",
"Traceback (most recent call last):\n",
" File \"/usr/local/lib/python3.10/dist-packages/starlette/routing.py\", line 741, in lifespan\n",
" await receive()\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/lifespan/on.py\", line 137, in receive\n",
" return await self.receive_queue.get()\n",
" File \"/usr/lib/python3.10/asyncio/queues.py\", line 159, in get\n",
" await getter\n",
"asyncio.exceptions.CancelledError\n",
"\n",
"Traceback (most recent call last):\n",
" File \"/content/server.py\", line 62, in <module>\n",
" main()\n",
" File \"/content/server.py\", line 59, in main\n",
" uvicorn.run(\"server:app\", host=args.host, port=args.port , reload=args.reload)\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/main.py\", line 575, in run\n",
" server.run()\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/server.py\", line 65, in run\n",
" return asyncio.run(self.serve(sockets=sockets))\n",
" File \"/usr/lib/python3.10/asyncio/runners.py\", line 44, in run\n",
" return loop.run_until_complete(main)\n",
" File \"uvloop/loop.pyx\", line 1511, in uvloop.loop.Loop.run_until_complete\n",
" File \"uvloop/loop.pyx\", line 1504, in uvloop.loop.Loop.run_until_complete\n",
" File \"uvloop/loop.pyx\", line 1377, in uvloop.loop.Loop.run_forever\n",
" File \"uvloop/loop.pyx\", line 555, in uvloop.loop.Loop._run\n",
" File \"uvloop/loop.pyx\", line 474, in uvloop.loop.Loop._on_idle\n",
" File \"uvloop/cbhandles.pyx\", line 83, in uvloop.loop.Handle._run\n",
" File \"uvloop/cbhandles.pyx\", line 63, in uvloop.loop.Handle._run\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/server.py\", line 68, in serve\n",
" with self.capture_signals():\n",
" File \"/usr/lib/python3.10/contextlib.py\", line 142, in __exit__\n",
" next(self.gen)\n",
" File \"/usr/local/lib/python3.10/dist-packages/uvicorn/server.py\", line 328, in capture_signals\n",
" signal.raise_signal(captured_signal)\n",
"KeyboardInterrupt\n",
"-> Cannot close object, library is destroyed. This may cause a memory leak!\n",
"-> Cannot close object, library is destroyed. This may cause a memory leak!\n",
"-> Cannot close object, library is destroyed. This may cause a memory leak!\n",
"-> Cannot close object, library is destroyed. This may cause a memory leak!\n",
"^C\n"
]
}
],
"source": [
"!npm install -g localtunnel\n",
"\n",
"import subprocess\n",
"import threading\n",
"import time\n",
"import socket\n",
"import urllib.request\n",
"\n",
"def iframe_thread(port):\n",
" while True:\n",
" time.sleep(0.5)\n",
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
" result = sock.connect_ex(('127.0.0.1', port))\n",
" if result == 0:\n",
" break\n",
" sock.close()\n",
" print(\"\\Omniparse finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\\n\")\n",
"\n",
" print(\"The password/enpoint ip for localtunnel is:\", urllib.request.urlopen('https://ipv4.icanhazip.com').read().decode('utf8').strip(\"\\n\"))\n",
" p = subprocess.Popen([\"lt\", \"--port\", \"{}\".format(port)], stdout=subprocess.PIPE)\n",
" for line in p.stdout:\n",
" print(line.decode(), end='')\n",
"\n",
"\n",
"threading.Thread(target=iframe_thread, daemon=True, args=(8000,)).start()\n",
"\n",
"!python server.py --host 127.0.0.1 --port 8000 --documents --media --web"
]
}
],
"metadata": {
"accelerator": "GPU",
"colab": {
"gpuType": "T4",
"provenance": [],
"include_colab_link": true
},
"kernelspec": {
"display_name": "Python 3",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.14"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment