RohitGandikota commited on
Commit
675f687
·
1 Parent(s): f83a5f5

pushing training code

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -278,7 +278,7 @@ class Demo:
278
  name = os.path.basename(model_path)
279
  rank = 4
280
  alpha = 1
281
- if rank in model_path:
282
  rank = int(model_path.split('_')[-1].replace('.pt',''))
283
  # if 'rank4' in model_path:
284
  # rank = 4
 
278
  name = os.path.basename(model_path)
279
  rank = 4
280
  alpha = 1
281
+ if 'rank' in model_path:
282
  rank = int(model_path.split('_')[-1].replace('.pt',''))
283
  # if 'rank4' in model_path:
284
  # rank = 4