Spaces:
Sleeping
Sleeping
maximuspowers
commited on
Commit
•
e36bf2f
1
Parent(s):
5dad7c8
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,17 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import nlpaug.augmenter.word as naw
|
|
|
|
|
|
|
|
|
3 |
|
4 |
DownloadUtil.download_word2vec(dest_dir = '.')
|
5 |
# Possible values are ‘wiki-news-300d-1M’, ‘wiki-news-300d-1M-subword’, ‘crawl-300d-2M’ and ‘crawl-300d-2M-subword’
|
|
|
1 |
import gradio as gr
|
2 |
+
import gensim
|
3 |
+
print(gensim.__version__)
|
4 |
+
|
5 |
+
import transformers
|
6 |
+
|
7 |
+
import sacremoses # for back translation tokenizer
|
8 |
+
|
9 |
+
import nlpaug.augmenter.char as nac
|
10 |
import nlpaug.augmenter.word as naw
|
11 |
+
import nlpaug.augmenter.sentence as nas
|
12 |
+
import nlpaug.flow as nafc
|
13 |
+
from nlpaug.util import Action
|
14 |
+
from nlpaug.util.file.download import DownloadUtil
|
15 |
|
16 |
DownloadUtil.download_word2vec(dest_dir = '.')
|
17 |
# Possible values are ‘wiki-news-300d-1M’, ‘wiki-news-300d-1M-subword’, ‘crawl-300d-2M’ and ‘crawl-300d-2M-subword’
|