Remove unnecessary imports
This commit is contained in:
parent
e3f73cd17d
commit
813b2abe77
|
@ -2,11 +2,9 @@
|
|||
|
||||
import { AutoConfig, env } from '../src/transformers.js';
|
||||
import { getFile } from '../src/utils/hub.js';
|
||||
import { init, m } from './init.js';
|
||||
import { m } from './init.js';
|
||||
|
||||
// Initialise the testing environment
|
||||
init();
|
||||
|
||||
env.allowLocalModels=false;
|
||||
env.useFSCache=false;
|
||||
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
|
||||
import { AutoTokenizer } from '../src/transformers.js';
|
||||
import { getFile } from '../src/utils/hub.js';
|
||||
import { init, m } from './init.js';
|
||||
|
||||
// Initialise the testing environment
|
||||
init();
|
||||
import { m } from './init.js';
|
||||
|
||||
// Load test data generated by the python tests
|
||||
// TODO do this dynamically?
|
||||
|
|
Loading…
Reference in New Issue