gkrishnan commited on
Commit
105911f
1 Parent(s): 23dd885

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -7,11 +7,11 @@ from transformers import AutoTokenizer
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)
 
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)