Spaces:
Running
Running
Delete notebooks/gradio_app.ipynb
#2
by
Fede2310
- opened
- notebooks/gradio_app.ipynb +0 -99
notebooks/gradio_app.ipynb
DELETED
|
@@ -1,99 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"cells": [
|
| 3 |
-
{
|
| 4 |
-
"cell_type": "markdown",
|
| 5 |
-
"id": "bd31ba17",
|
| 6 |
-
"metadata": {},
|
| 7 |
-
"source": [
|
| 8 |
-
"<a href=\"https://colab.research.google.com/github/teticio/inBERTolate/blob/master/notebooks/gradio_app.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
|
| 9 |
-
]
|
| 10 |
-
},
|
| 11 |
-
{
|
| 12 |
-
"cell_type": "code",
|
| 13 |
-
"execution_count": 1,
|
| 14 |
-
"id": "f2fa778e",
|
| 15 |
-
"metadata": {},
|
| 16 |
-
"outputs": [],
|
| 17 |
-
"source": [
|
| 18 |
-
"try:\n",
|
| 19 |
-
" # are we running on Google Colab?\n",
|
| 20 |
-
" import google.colab\n",
|
| 21 |
-
" !git clone -q https://github.com/teticio/inBERTolate.git\n",
|
| 22 |
-
" %cd inBERTolate\n",
|
| 23 |
-
" !pip install -q -r requirements.txt\n",
|
| 24 |
-
"except:\n",
|
| 25 |
-
" pass"
|
| 26 |
-
]
|
| 27 |
-
},
|
| 28 |
-
{
|
| 29 |
-
"cell_type": "code",
|
| 30 |
-
"execution_count": 4,
|
| 31 |
-
"id": "3fd44423",
|
| 32 |
-
"metadata": {},
|
| 33 |
-
"outputs": [],
|
| 34 |
-
"source": [
|
| 35 |
-
"import os\n",
|
| 36 |
-
"import sys\n",
|
| 37 |
-
"sys.path.insert(0, os.path.dirname(os.path.abspath(\"\")))"
|
| 38 |
-
]
|
| 39 |
-
},
|
| 40 |
-
{
|
| 41 |
-
"cell_type": "code",
|
| 42 |
-
"execution_count": null,
|
| 43 |
-
"id": "bb9e5adc",
|
| 44 |
-
"metadata": {},
|
| 45 |
-
"outputs": [],
|
| 46 |
-
"source": [
|
| 47 |
-
"import app\n",
|
| 48 |
-
"app.demo.launch(share=True);"
|
| 49 |
-
]
|
| 50 |
-
},
|
| 51 |
-
{
|
| 52 |
-
"cell_type": "code",
|
| 53 |
-
"execution_count": null,
|
| 54 |
-
"id": "e6aefd43",
|
| 55 |
-
"metadata": {},
|
| 56 |
-
"outputs": [],
|
| 57 |
-
"source": []
|
| 58 |
-
}
|
| 59 |
-
],
|
| 60 |
-
"metadata": {
|
| 61 |
-
"accelerator": "GPU",
|
| 62 |
-
"colab": {
|
| 63 |
-
"provenance": []
|
| 64 |
-
},
|
| 65 |
-
"gpuClass": "standard",
|
| 66 |
-
"kernelspec": {
|
| 67 |
-
"display_name": "huggingface",
|
| 68 |
-
"language": "python",
|
| 69 |
-
"name": "huggingface"
|
| 70 |
-
},
|
| 71 |
-
"language_info": {
|
| 72 |
-
"codemirror_mode": {
|
| 73 |
-
"name": "ipython",
|
| 74 |
-
"version": 3
|
| 75 |
-
},
|
| 76 |
-
"file_extension": ".py",
|
| 77 |
-
"mimetype": "text/x-python",
|
| 78 |
-
"name": "python",
|
| 79 |
-
"nbconvert_exporter": "python",
|
| 80 |
-
"pygments_lexer": "ipython3",
|
| 81 |
-
"version": "3.10.4"
|
| 82 |
-
},
|
| 83 |
-
"toc": {
|
| 84 |
-
"base_numbering": 1,
|
| 85 |
-
"nav_menu": {},
|
| 86 |
-
"number_sections": true,
|
| 87 |
-
"sideBar": true,
|
| 88 |
-
"skip_h1_title": false,
|
| 89 |
-
"title_cell": "Table of Contents",
|
| 90 |
-
"title_sidebar": "Contents",
|
| 91 |
-
"toc_cell": false,
|
| 92 |
-
"toc_position": {},
|
| 93 |
-
"toc_section_display": true,
|
| 94 |
-
"toc_window_display": false
|
| 95 |
-
}
|
| 96 |
-
},
|
| 97 |
-
"nbformat": 4,
|
| 98 |
-
"nbformat_minor": 5
|
| 99 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|