Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,11 +7,11 @@ from transformers import AutoTokenizer
|
|
7 |
import pickle
|
8 |
import os
|
9 |
|
10 |
-
|
11 |
-
|
12 |
|
13 |
-
|
14 |
-
|
15 |
|
16 |
with open('shakespeare.pkl', 'rb') as fp:
|
17 |
data = pickle.load(fp)
|
|
|
7 |
import pickle
|
8 |
import os
|
9 |
|
10 |
+
github_url = "https://github.com/TheMITTech/shakespeare"
|
11 |
+
data = [{"page_content": github_url}]
|
12 |
|
13 |
+
with open('shakespeare.pkl', 'wb') as fp:
|
14 |
+
pickle.dump(github_url, fp)
|
15 |
|
16 |
with open('shakespeare.pkl', 'rb') as fp:
|
17 |
data = pickle.load(fp)
|