NimaKL commited on
Commit
cb51fed
·
1 Parent(s): fe8e324

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
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')