Yaron Koresh commited on
Commit
8bbac4a
·
verified ·
1 Parent(s): 3a80c0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -96,10 +96,10 @@ def infer(prompt1,prompt2,prompt3,prompt4):
96
  if prompt4 == None:
97
  prompt4 = ""
98
  else:
99
- prompt4 = " and " + " and ".join([translate(v,"english").upper() for v in prompt4])
100
 
101
  _do = f'Show an authentic {prompt3} scene, while focusing on the details, of {prompt1}, as the main elements, and, showing {prompt2} in the background.'
102
- _dont = f'ANY usage of TEXT and LABEL and LOGO{prompt4}...'
103
  print(_do)
104
  print(_dont)
105
  image = Piper(_do, _dont).images[0].save(name)
 
96
  if prompt4 == None:
97
  prompt4 = ""
98
  else:
99
+ prompt4 = ", " + ", ".join([translate(v,"english").upper() for v in prompt4])
100
 
101
  _do = f'Show an authentic {prompt3} scene, while focusing on the details, of {prompt1}, as the main elements, and, showing {prompt2} in the background.'
102
+ _dont = f'TEXT, LABEL, LOGO{prompt4}...'
103
  print(_do)
104
  print(_dont)
105
  image = Piper(_do, _dont).images[0].save(name)