Spaces:
Runtime error
Runtime error
RohitGandikota
commited on
Commit
β’
b677cab
1
Parent(s):
ec9ed03
pushing training code
Browse files
app.py
CHANGED
@@ -229,7 +229,7 @@ class Demo:
|
|
229 |
|
230 |
|
231 |
randn = torch.randint(1, 10000000, (1,)).item()
|
232 |
-
save_name = f
|
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'
|