RohitGandikota commited on
Commit
b677cab
β€’
1 Parent(s): ec9ed03

pushing training code

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -229,7 +229,7 @@ class Demo:
229
 
230
 
231
  randn = torch.randint(1, 10000000, (1,)).item()
232
- save_name = f'{randn}_{target_concept.replace(',','').replace(' ','').replace('.','')[:10]}_{positive_prompt.replace(',','').replace(' ','').replace('.','')[:10]}'
233
  save_name += f'_alpha-{1}'
234
  save_name += f'_noxattn'
235
  save_name += f'_rank_{rank}.pt'
 
229
 
230
 
231
  randn = torch.randint(1, 10000000, (1,)).item()
232
+ save_name = f"{randn}_{target_concept.replace(',','').replace(' ','').replace('.','')[:10]}_{positive_prompt.replace(',','').replace(' ','').replace('.','')[:10]}"
233
  save_name += f'_alpha-{1}'
234
  save_name += f'_noxattn'
235
  save_name += f'_rank_{rank}.pt'