Creating app.py
Browse files- __pycache__/share_btn.cpython-39.pyc +0 -0
- app.py +3 -1
__pycache__/share_btn.cpython-39.pyc
ADDED
Binary file (6.29 kB). View file
|
|
app.py
CHANGED
@@ -8,7 +8,9 @@ import requests
|
|
8 |
|
9 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
10 |
|
11 |
-
|
|
|
|
|
12 |
word_list = word_list_dataset["train"]['text']
|
13 |
|
14 |
is_gpu_busy = False
|
|
|
8 |
|
9 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
10 |
|
11 |
+
access_token = "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"
|
12 |
+
|
13 |
+
word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt", use_auth_token=access_token)
|
14 |
word_list = word_list_dataset["train"]['text']
|
15 |
|
16 |
is_gpu_busy = False
|