Update app.py
Browse files
app.py
CHANGED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import shutil
|
3 |
+
if not os.path.exists('variables'):
|
4 |
+
os.makedirs('variables')
|
5 |
+
shutil.move('variables.data-00000-of-00001', 'variables')
|
6 |
+
shutil.move('variables.index', 'variables')
|
7 |
+
if not os.path.exists('tokenizer'):
|
8 |
+
os.makedirs('tokenizer')
|
9 |
+
shutil.move('tokenizer_config.json', 'tokeizer')
|
10 |
+
shutil.move('vocab.txt', 'tokenizer')
|