Skip to content

Commit

Permalink
Updating colab to work with new naming (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingvince authored Aug 29, 2022
1 parent 3073a49 commit a9fae75
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions DocQuery_example.ipynb → docquery_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "DocQA_example.ipynb",
"name": "docquery_example.ipynb",
"provenance": [],
"collapsed_sections": [],
"authorship_tag": "ABX9TyPo0xYtL+cYJfNl6lhkeDjX",
"authorship_tag": "ABX9TyNxYAeRjZTeKNeMu6iJvYRw",
"include_colab_link": true
},
"kernelspec": {
Expand All @@ -25,7 +25,7 @@
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/amazingvince/docqa/blob/main/DocQA_example.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
"<a href=\"https://colab.research.google.com/github/amazingvince/docqa/blob/updating_colab/docquery_example.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
Expand All @@ -36,16 +36,16 @@
},
"outputs": [],
"source": [
"!git clone https://github.com/impira/docqa.git\n",
"!git clone https://github.com/impira/docquery.git\n",
"!sudo apt install tesseract-ocr\n",
"!sudo apt-get install poppler-utils\n",
"!cd docqa && pip install .[all] "
"!cd docquery && pip install .[all]"
]
},
{
"cell_type": "code",
"source": [
"!docqa scan \"who authored this paper?\" https://arxiv.org/pdf/2101.07597.pdf"
"!docquery scan \"who authored this paper?\" https://arxiv.org/pdf/2101.07597.pdf"
],
"metadata": {
"id": "bKRRY5u2DV52"
Expand All @@ -54,4 +54,4 @@
"outputs": []
}
]
}
}

0 comments on commit a9fae75

Please sign in to comment.