Futuretop commited on
Commit
a8150fc
Β·
verified Β·
1 Parent(s): b4357f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
17
 
18
  config = AutoConfig.from_pretrained(model_id, trust_remote_code=True)
19
 
20
- mconfig_mod_name = config.__class__.__module__
21
  config_mod = sys.modules[config_mod_name]
22
  code_dir = os.path.dirname(config_mod.__file__)
23
 
 
17
 
18
  config = AutoConfig.from_pretrained(model_id, trust_remote_code=True)
19
 
20
+ config_mod_name = config.__class__.__module__
21
  config_mod = sys.modules[config_mod_name]
22
  code_dir = os.path.dirname(config_mod.__file__)
23