Spaces:
Runtime error
Runtime error
change requirements.txt
Browse files- app.py +2 -2
- requirements.txt +8 -189
app.py
CHANGED
|
@@ -10,8 +10,8 @@ import gradio as gr
|
|
| 10 |
|
| 11 |
# make function using import pip to install torch
|
| 12 |
import pip
|
| 13 |
-
pip.main(['install', 'torch'])
|
| 14 |
-
pip.main(['install', 'transformers'])
|
| 15 |
|
| 16 |
import torch
|
| 17 |
import transformers
|
|
|
|
| 10 |
|
| 11 |
# make function using import pip to install torch
|
| 12 |
import pip
|
| 13 |
+
#pip.main(['install', 'torch'])
|
| 14 |
+
#pip.main(['install', 'transformers'])
|
| 15 |
|
| 16 |
import torch
|
| 17 |
import transformers
|
requirements.txt
CHANGED
|
@@ -1,189 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
astor==0.8.1
|
| 10 |
-
asttokens==2.0.5
|
| 11 |
-
astunparse==1.6.3
|
| 12 |
-
async-timeout==4.0.2
|
| 13 |
-
attrs==21.4.0
|
| 14 |
-
Babel==2.9.1
|
| 15 |
-
backcall==0.2.0
|
| 16 |
-
beautifulsoup4==4.10.0
|
| 17 |
-
bleach==4.1.0
|
| 18 |
-
cachetools==5.0.0
|
| 19 |
-
certifi==2021.10.8
|
| 20 |
-
cffi==1.15.0
|
| 21 |
-
chainer==7.8.1
|
| 22 |
-
charset-normalizer==2.0.12
|
| 23 |
-
click==8.1.3
|
| 24 |
-
cupy==10.2.0
|
| 25 |
-
cycler==0.11.0
|
| 26 |
-
Cython==0.29.28
|
| 27 |
-
debugpy==1.6.0
|
| 28 |
-
decorator==5.1.1
|
| 29 |
-
defusedxml==0.7.1
|
| 30 |
-
entrypoints==0.4
|
| 31 |
-
enum34==1.1.10
|
| 32 |
-
executing==0.8.3
|
| 33 |
-
fastapi==0.89.1
|
| 34 |
-
fastrlock==0.8
|
| 35 |
-
ffmpy==0.3.0
|
| 36 |
-
filelock==3.6.0
|
| 37 |
-
flatbuffers==2.0
|
| 38 |
-
fonttools==4.31.2
|
| 39 |
-
frozenlist==1.3.3
|
| 40 |
-
fsspec==2023.1.0
|
| 41 |
-
future==0.18.2
|
| 42 |
-
gast==0.5.3
|
| 43 |
-
gluonnlp==0.10.0
|
| 44 |
-
google-auth==2.6.2
|
| 45 |
-
google-auth-oauthlib==0.4.6
|
| 46 |
-
google-pasta==0.2.0
|
| 47 |
-
gradio==3.17.1
|
| 48 |
-
graphviz==0.8.4
|
| 49 |
-
grpcio==1.44.0
|
| 50 |
-
h11==0.14.0
|
| 51 |
-
h5py==3.6.0
|
| 52 |
-
httpcore==0.16.3
|
| 53 |
-
httpx==0.23.3
|
| 54 |
-
huggingface-hub==0.12.0
|
| 55 |
-
idna==3.3
|
| 56 |
-
imageio==2.16.1
|
| 57 |
-
importlib-metadata==4.11.3
|
| 58 |
-
importlib-resources==5.6.0
|
| 59 |
-
ipykernel==6.10.0
|
| 60 |
-
ipython==8.2.0
|
| 61 |
-
ipython-genutils==0.2.0
|
| 62 |
-
ipywidgets==7.7.0
|
| 63 |
-
jedi==0.18.1
|
| 64 |
-
Jinja2==3.1.1
|
| 65 |
-
joblib==1.1.0
|
| 66 |
-
JPype1==1.4.1
|
| 67 |
-
json5==0.9.6
|
| 68 |
-
jsonschema==4.4.0
|
| 69 |
-
jupyter==1.0.0
|
| 70 |
-
jupyter-client==7.2.0
|
| 71 |
-
jupyter-console==6.4.3
|
| 72 |
-
jupyter-core==4.9.2
|
| 73 |
-
jupyter-server==1.16.0
|
| 74 |
-
jupyterlab==3.3.2
|
| 75 |
-
jupyterlab-pygments==0.1.2
|
| 76 |
-
jupyterlab-server==2.12.0
|
| 77 |
-
jupyterlab-widgets==1.1.0
|
| 78 |
-
keras==2.8.0
|
| 79 |
-
Keras-Preprocessing==1.1.2
|
| 80 |
-
kiwisolver==1.4.2
|
| 81 |
-
konlpy==0.6.0
|
| 82 |
-
krwordrank==1.0.3
|
| 83 |
-
libclang==13.0.0
|
| 84 |
-
linkify-it-py==1.0.3
|
| 85 |
-
lxml==4.9.2
|
| 86 |
-
Markdown==3.3.6
|
| 87 |
-
markdown-it-py==2.1.0
|
| 88 |
-
MarkupSafe==2.1.1
|
| 89 |
-
matplotlib==3.5.1
|
| 90 |
-
matplotlib-inline==0.1.3
|
| 91 |
-
mdit-py-plugins==0.3.3
|
| 92 |
-
mdurl==0.1.2
|
| 93 |
-
mistune==0.8.4
|
| 94 |
-
multidict==6.0.4
|
| 95 |
-
mxnet==1.9.1
|
| 96 |
-
mxnet-cu112==1.9.0
|
| 97 |
-
nbclassic==0.3.7
|
| 98 |
-
nbclient==0.5.13
|
| 99 |
-
nbconvert==6.4.5
|
| 100 |
-
nbformat==5.2.0
|
| 101 |
-
nest-asyncio==1.5.4
|
| 102 |
-
networkx==2.7.1
|
| 103 |
-
notebook==6.4.10
|
| 104 |
-
notebook-shim==0.1.0
|
| 105 |
-
numpy==1.22.3
|
| 106 |
-
oauthlib==3.2.0
|
| 107 |
-
onnx==1.11.0
|
| 108 |
-
onnxruntime-gpu==1.11.0
|
| 109 |
-
opt-einsum==3.3.0
|
| 110 |
-
orjson==3.8.5
|
| 111 |
-
packaging==21.3
|
| 112 |
-
paddlepaddle-gpu==2.2.2
|
| 113 |
-
pandas==1.4.1
|
| 114 |
-
pandocfilters==1.5.0
|
| 115 |
-
parso==0.8.3
|
| 116 |
-
pexpect==4.8.0
|
| 117 |
-
pickleshare==0.7.5
|
| 118 |
-
Pillow==9.0.1
|
| 119 |
-
prometheus-client==0.13.1
|
| 120 |
-
prompt-toolkit==3.0.28
|
| 121 |
-
protobuf==3.19.4
|
| 122 |
-
psutil==5.9.0
|
| 123 |
-
ptyprocess==0.7.0
|
| 124 |
-
pure-eval==0.2.2
|
| 125 |
-
pyasn1==0.4.8
|
| 126 |
-
pyasn1-modules==0.2.8
|
| 127 |
-
pycparser==2.21
|
| 128 |
-
pycryptodome==3.17
|
| 129 |
-
pydantic==1.10.4
|
| 130 |
-
pydub==0.25.1
|
| 131 |
-
Pygments==2.11.2
|
| 132 |
-
pyparsing==3.0.7
|
| 133 |
-
pyrsistent==0.18.1
|
| 134 |
-
python-dateutil==2.8.2
|
| 135 |
-
python-multipart==0.0.5
|
| 136 |
-
pytz==2022.1
|
| 137 |
-
PyWavelets==1.3.0
|
| 138 |
-
PyYAML==6.0
|
| 139 |
-
pyzmq==22.3.0
|
| 140 |
-
qtconsole==5.3.0
|
| 141 |
-
QtPy==2.0.1
|
| 142 |
-
regex==2022.10.31
|
| 143 |
-
requests==2.27.1
|
| 144 |
-
requests-oauthlib==1.3.1
|
| 145 |
-
rfc3986==1.5.0
|
| 146 |
-
rsa==4.8
|
| 147 |
-
sacremoses==0.0.53
|
| 148 |
-
scikit-image==0.19.2
|
| 149 |
-
scikit-learn==1.0.2
|
| 150 |
-
scipy==1.8.0
|
| 151 |
-
Send2Trash==1.8.0
|
| 152 |
-
sentencepiece==0.1.97
|
| 153 |
-
six==1.16.0
|
| 154 |
-
sniffio==1.2.0
|
| 155 |
-
soupsieve==2.3.1
|
| 156 |
-
soykeyword==0.0.14
|
| 157 |
-
stack-data==0.2.0
|
| 158 |
-
starlette==0.22.0
|
| 159 |
-
tensorboard==2.8.0
|
| 160 |
-
tensorboard-data-server==0.6.1
|
| 161 |
-
tensorboard-plugin-wit==1.8.1
|
| 162 |
-
tensorflow-gpu==2.8.0
|
| 163 |
-
tensorflow-io-gcs-filesystem==0.24.0
|
| 164 |
-
termcolor==1.1.0
|
| 165 |
-
terminado==0.13.3
|
| 166 |
-
testpath==0.6.0
|
| 167 |
-
tf-estimator-nightly==2.8.0.dev2021122109
|
| 168 |
-
threadpoolctl==3.1.0
|
| 169 |
-
tifffile==2022.3.25
|
| 170 |
-
tokenizers==0.10.3
|
| 171 |
-
toolz==0.12.0
|
| 172 |
-
tornado==6.1
|
| 173 |
-
tqdm==4.63.1
|
| 174 |
-
traitlets==5.1.1
|
| 175 |
-
transformers==4.12.5
|
| 176 |
-
typing==3.7.4.3
|
| 177 |
-
typing_extensions==4.4.0
|
| 178 |
-
uc-micro-py==1.0.1
|
| 179 |
-
urllib3==1.26.9
|
| 180 |
-
uvicorn==0.20.0
|
| 181 |
-
wcwidth==0.2.5
|
| 182 |
-
webencodings==0.5.1
|
| 183 |
-
websocket-client==1.3.2
|
| 184 |
-
websockets==10.4
|
| 185 |
-
Werkzeug==2.1.0
|
| 186 |
-
widgetsnbextension==3.6.0
|
| 187 |
-
wrapt==1.14.0
|
| 188 |
-
yarl==1.8.2
|
| 189 |
-
zipp==3.7.0
|
|
|
|
| 1 |
+
konlpy
|
| 2 |
+
sklearn
|
| 3 |
+
numpy
|
| 4 |
+
itertools
|
| 5 |
+
gradio
|
| 6 |
+
pip
|
| 7 |
+
torch
|
| 8 |
+
transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|