RohitGandikota commited on
Commit
9a7d487
·
1 Parent(s): e092b75

fixing training

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -233,8 +233,8 @@ class Demo:
233
  # positive_prompt = ''
234
  # if negative_prompt is None:
235
  # negative_prompt = ''
236
- if attributes_input == '':
237
- attributes_input = None
238
  print(target_concept, positive_prompt, negative_prompt, attributes_input, is_person)
239
 
240
  randn = torch.randint(1, 10000000, (1,)).item()
 
233
  # positive_prompt = ''
234
  # if negative_prompt is None:
235
  # negative_prompt = ''
236
+ if attributes_input == '':
237
+ attributes_input = None
238
  print(target_concept, positive_prompt, negative_prompt, attributes_input, is_person)
239
 
240
  randn = torch.randint(1, 10000000, (1,)).item()