Linoy Tsaban commited on
Commit
93e1172
1 Parent(s): 61507ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -106,6 +106,7 @@ def edit(input_image,
106
  num_concepts = len(edit_concepts)
107
  neg_guidance =[]
108
  for edit_concept in edit_concepts:
 
109
  if edit_concept.startswith("-"):
110
  neg_guidance.append(True)
111
  else:
 
106
  num_concepts = len(edit_concepts)
107
  neg_guidance =[]
108
  for edit_concept in edit_concepts:
109
+ edit_concept=edit_concept.strip(" ")
110
  if edit_concept.startswith("-"):
111
  neg_guidance.append(True)
112
  else: