Spaces:
Runtime error
Runtime error
Recreated pip env and froze
Browse files- app.py +1 -11
- requirements.txt +21 -39
app.py
CHANGED
@@ -1,13 +1,3 @@
|
|
1 |
-
from flask import Flask
|
2 |
-
import os
|
3 |
from shakespeare_demo import make_demo
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
@app.route("/")
|
8 |
-
def hello_world():
|
9 |
-
return make_demo()
|
10 |
-
|
11 |
-
if __name__ == "__main__":
|
12 |
-
port = int(os.environ.get('PORT', 5999))
|
13 |
-
app.run(debug=True, host='0.0.0.0', port=port)
|
|
|
|
|
|
|
1 |
from shakespeare_demo import make_demo
|
2 |
|
3 |
+
make_demo()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
@@ -5,21 +5,19 @@ altair==4.2.2
|
|
5 |
anyio==3.6.2
|
6 |
argon2-cffi==21.3.0
|
7 |
argon2-cffi-bindings==21.2.0
|
|
|
8 |
asttokens==2.2.1
|
9 |
async-timeout==4.0.2
|
10 |
attrs==22.2.0
|
11 |
backcall==0.2.0
|
12 |
-
backports.functools-lru-cache==1.6.4
|
13 |
beautifulsoup4==4.11.2
|
14 |
bleach==6.0.0
|
15 |
-
brotlipy==0.7.0
|
16 |
certifi==2022.12.7
|
17 |
cffi==1.15.1
|
18 |
-
charset-normalizer==
|
19 |
click==8.1.3
|
20 |
comm==0.1.2
|
21 |
contourpy==1.0.7
|
22 |
-
cryptography==39.0.1
|
23 |
cycler==0.11.0
|
24 |
debugpy==1.6.6
|
25 |
decorator==5.1.1
|
@@ -32,50 +30,44 @@ fastapi==0.92.0
|
|
32 |
fastjsonschema==2.16.2
|
33 |
ffmpy==0.3.0
|
34 |
filelock==3.9.0
|
35 |
-
Flask==2.2.3
|
36 |
-
flit_core==3.8.0
|
37 |
fonttools==4.38.0
|
|
|
38 |
frozenlist==1.3.3
|
39 |
fsspec==2023.1.0
|
40 |
gradio==3.19.1
|
41 |
h11==0.14.0
|
42 |
-
h2==4.1.0
|
43 |
-
hpack==4.0.0
|
44 |
httpcore==0.16.3
|
45 |
httpx==0.23.3
|
46 |
huggingface-hub==0.12.1
|
47 |
-
hyperframe==6.0.1
|
48 |
idna==3.4
|
49 |
-
importlib-metadata==6.0.0
|
50 |
-
importlib-resources==5.12.0
|
51 |
ipykernel==6.21.2
|
52 |
ipython==8.10.0
|
53 |
ipython-genutils==0.2.0
|
54 |
ipywidgets==8.0.4
|
55 |
-
|
56 |
jedi==0.18.2
|
57 |
Jinja2==3.1.2
|
|
|
58 |
jsonschema==4.17.3
|
59 |
jupyter==1.0.0
|
|
|
|
|
60 |
jupyter_client==8.0.3
|
61 |
-
jupyter-console==6.5.1
|
62 |
jupyter_core==5.2.0
|
63 |
-
jupyter-events==0.6.3
|
64 |
jupyter_server==2.3.0
|
65 |
jupyter_server_terminals==0.4.4
|
66 |
jupyterlab-pygments==0.2.2
|
67 |
jupyterlab-widgets==3.0.5
|
68 |
kiwisolver==1.4.4
|
69 |
linkify-it-py==2.0.0
|
70 |
-
markdown-it-py==2.
|
71 |
MarkupSafe==2.1.2
|
72 |
matplotlib==3.7.0
|
73 |
matplotlib-inline==0.1.6
|
74 |
mdit-py-plugins==0.3.3
|
75 |
-
mdurl==0.1.
|
76 |
mistune==2.0.5
|
77 |
multidict==6.0.4
|
78 |
-
munkres==1.1.4
|
79 |
nbclassic==0.5.2
|
80 |
nbclient==0.7.2
|
81 |
nbconvert==7.2.9
|
@@ -84,7 +76,11 @@ nest-asyncio==1.5.6
|
|
84 |
notebook==6.5.2
|
85 |
notebook_shim==0.2.2
|
86 |
numpy==1.24.2
|
87 |
-
|
|
|
|
|
|
|
|
|
88 |
packaging==23.0
|
89 |
pandas==1.5.3
|
90 |
pandocfilters==1.5.0
|
@@ -92,28 +88,21 @@ parso==0.8.3
|
|
92 |
pexpect==4.8.0
|
93 |
pickleshare==0.7.5
|
94 |
Pillow==9.4.0
|
95 |
-
pip==23.0.1
|
96 |
-
pkgutil_resolve_name==1.3.10
|
97 |
platformdirs==3.0.0
|
98 |
-
ply==3.11
|
99 |
prometheus-client==0.16.0
|
100 |
-
prompt-toolkit==3.0.
|
101 |
psutil==5.9.4
|
102 |
ptyprocess==0.7.0
|
103 |
pure-eval==0.2.2
|
104 |
pycparser==2.21
|
105 |
-
pycryptodome==3.
|
106 |
pydantic==1.10.5
|
107 |
pydub==0.25.1
|
108 |
Pygments==2.14.0
|
109 |
-
pyOpenSSL==23.0.0
|
110 |
pyparsing==3.0.9
|
111 |
-
PyQt5==5.15.7
|
112 |
-
PyQt5-sip==12.11.0
|
113 |
pyrsistent==0.19.3
|
114 |
-
PySocks==1.7.1
|
115 |
python-dateutil==2.8.2
|
116 |
-
python-json-logger==2.0.
|
117 |
python-multipart==0.0.5
|
118 |
pytz==2022.7.1
|
119 |
PyYAML==6.0
|
@@ -126,36 +115,29 @@ rfc3339-validator==0.1.4
|
|
126 |
rfc3986==1.5.0
|
127 |
rfc3986-validator==0.1.1
|
128 |
Send2Trash==1.8.0
|
129 |
-
setuptools==67.3.2
|
130 |
-
sip==6.7.7
|
131 |
six==1.16.0
|
132 |
sniffio==1.3.0
|
133 |
-
soupsieve==2.
|
134 |
stack-data==0.6.2
|
135 |
starlette==0.25.0
|
136 |
terminado==0.17.1
|
137 |
tinycss2==1.2.1
|
138 |
tokenizers==0.13.2
|
139 |
-
toml==0.10.2
|
140 |
toolz==0.12.0
|
141 |
torch==1.13.1
|
142 |
-
torchaudio==0.13.1
|
143 |
-
torchvision==0.14.1
|
144 |
tornado==6.2
|
145 |
tqdm==4.64.1
|
146 |
traitlets==5.9.0
|
147 |
transformers==4.26.1
|
148 |
-
typing_extensions==4.
|
149 |
uc-micro-py==1.0.1
|
150 |
-
|
151 |
urllib3==1.26.14
|
152 |
uvicorn==0.20.0
|
153 |
wcwidth==0.2.6
|
|
|
154 |
webencodings==0.5.1
|
155 |
websocket-client==1.5.1
|
156 |
websockets==10.4
|
157 |
-
Werkzeug==2.2.3
|
158 |
-
wheel==0.38.4
|
159 |
widgetsnbextension==4.0.5
|
160 |
yarl==1.8.2
|
161 |
-
zipp==3.14.0
|
|
|
5 |
anyio==3.6.2
|
6 |
argon2-cffi==21.3.0
|
7 |
argon2-cffi-bindings==21.2.0
|
8 |
+
arrow==1.2.3
|
9 |
asttokens==2.2.1
|
10 |
async-timeout==4.0.2
|
11 |
attrs==22.2.0
|
12 |
backcall==0.2.0
|
|
|
13 |
beautifulsoup4==4.11.2
|
14 |
bleach==6.0.0
|
|
|
15 |
certifi==2022.12.7
|
16 |
cffi==1.15.1
|
17 |
+
charset-normalizer==3.0.1
|
18 |
click==8.1.3
|
19 |
comm==0.1.2
|
20 |
contourpy==1.0.7
|
|
|
21 |
cycler==0.11.0
|
22 |
debugpy==1.6.6
|
23 |
decorator==5.1.1
|
|
|
30 |
fastjsonschema==2.16.2
|
31 |
ffmpy==0.3.0
|
32 |
filelock==3.9.0
|
|
|
|
|
33 |
fonttools==4.38.0
|
34 |
+
fqdn==1.5.1
|
35 |
frozenlist==1.3.3
|
36 |
fsspec==2023.1.0
|
37 |
gradio==3.19.1
|
38 |
h11==0.14.0
|
|
|
|
|
39 |
httpcore==0.16.3
|
40 |
httpx==0.23.3
|
41 |
huggingface-hub==0.12.1
|
|
|
42 |
idna==3.4
|
|
|
|
|
43 |
ipykernel==6.21.2
|
44 |
ipython==8.10.0
|
45 |
ipython-genutils==0.2.0
|
46 |
ipywidgets==8.0.4
|
47 |
+
isoduration==20.11.0
|
48 |
jedi==0.18.2
|
49 |
Jinja2==3.1.2
|
50 |
+
jsonpointer==2.3
|
51 |
jsonschema==4.17.3
|
52 |
jupyter==1.0.0
|
53 |
+
jupyter-console==6.6.1
|
54 |
+
jupyter-events==0.6.3
|
55 |
jupyter_client==8.0.3
|
|
|
56 |
jupyter_core==5.2.0
|
|
|
57 |
jupyter_server==2.3.0
|
58 |
jupyter_server_terminals==0.4.4
|
59 |
jupyterlab-pygments==0.2.2
|
60 |
jupyterlab-widgets==3.0.5
|
61 |
kiwisolver==1.4.4
|
62 |
linkify-it-py==2.0.0
|
63 |
+
markdown-it-py==2.2.0
|
64 |
MarkupSafe==2.1.2
|
65 |
matplotlib==3.7.0
|
66 |
matplotlib-inline==0.1.6
|
67 |
mdit-py-plugins==0.3.3
|
68 |
+
mdurl==0.1.2
|
69 |
mistune==2.0.5
|
70 |
multidict==6.0.4
|
|
|
71 |
nbclassic==0.5.2
|
72 |
nbclient==0.7.2
|
73 |
nbconvert==7.2.9
|
|
|
76 |
notebook==6.5.2
|
77 |
notebook_shim==0.2.2
|
78 |
numpy==1.24.2
|
79 |
+
nvidia-cublas-cu11==11.10.3.66
|
80 |
+
nvidia-cuda-nvrtc-cu11==11.7.99
|
81 |
+
nvidia-cuda-runtime-cu11==11.7.99
|
82 |
+
nvidia-cudnn-cu11==8.5.0.96
|
83 |
+
orjson==3.8.6
|
84 |
packaging==23.0
|
85 |
pandas==1.5.3
|
86 |
pandocfilters==1.5.0
|
|
|
88 |
pexpect==4.8.0
|
89 |
pickleshare==0.7.5
|
90 |
Pillow==9.4.0
|
|
|
|
|
91 |
platformdirs==3.0.0
|
|
|
92 |
prometheus-client==0.16.0
|
93 |
+
prompt-toolkit==3.0.37
|
94 |
psutil==5.9.4
|
95 |
ptyprocess==0.7.0
|
96 |
pure-eval==0.2.2
|
97 |
pycparser==2.21
|
98 |
+
pycryptodome==3.17
|
99 |
pydantic==1.10.5
|
100 |
pydub==0.25.1
|
101 |
Pygments==2.14.0
|
|
|
102 |
pyparsing==3.0.9
|
|
|
|
|
103 |
pyrsistent==0.19.3
|
|
|
104 |
python-dateutil==2.8.2
|
105 |
+
python-json-logger==2.0.7
|
106 |
python-multipart==0.0.5
|
107 |
pytz==2022.7.1
|
108 |
PyYAML==6.0
|
|
|
115 |
rfc3986==1.5.0
|
116 |
rfc3986-validator==0.1.1
|
117 |
Send2Trash==1.8.0
|
|
|
|
|
118 |
six==1.16.0
|
119 |
sniffio==1.3.0
|
120 |
+
soupsieve==2.4
|
121 |
stack-data==0.6.2
|
122 |
starlette==0.25.0
|
123 |
terminado==0.17.1
|
124 |
tinycss2==1.2.1
|
125 |
tokenizers==0.13.2
|
|
|
126 |
toolz==0.12.0
|
127 |
torch==1.13.1
|
|
|
|
|
128 |
tornado==6.2
|
129 |
tqdm==4.64.1
|
130 |
traitlets==5.9.0
|
131 |
transformers==4.26.1
|
132 |
+
typing_extensions==4.5.0
|
133 |
uc-micro-py==1.0.1
|
134 |
+
uri-template==1.2.0
|
135 |
urllib3==1.26.14
|
136 |
uvicorn==0.20.0
|
137 |
wcwidth==0.2.6
|
138 |
+
webcolors==1.12
|
139 |
webencodings==0.5.1
|
140 |
websocket-client==1.5.1
|
141 |
websockets==10.4
|
|
|
|
|
142 |
widgetsnbextension==4.0.5
|
143 |
yarl==1.8.2
|
|