vibs08 commited on
Commit
11c3fc1
·
verified ·
1 Parent(s): 46574e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -101,6 +101,9 @@ def generate_image_from_text(pos_prompt):
101
  new_prompt = gen_pos_prompt(pos_prompt)
102
  print(new_prompt)
103
  neg_prompt = '''Detailed, complex textures, intricate patterns, realistic lighting, high contrast, reflections, fuzzy surface, realistic proportions, photographic quality, vibrant colors, detailed background, shadows, disfigured, deformed, ugly, multiple, duplicate.'''
 
 
 
104
  parameters = {
105
  'taskType': 'TEXT_IMAGE',
106
  'textToImageParams': {'text': new_prompt,
 
101
  new_prompt = gen_pos_prompt(pos_prompt)
102
  print(new_prompt)
103
  neg_prompt = '''Detailed, complex textures, intricate patterns, realistic lighting, high contrast, reflections, fuzzy surface, realistic proportions, photographic quality, vibrant colors, detailed background, shadows, disfigured, deformed, ugly, multiple, duplicate.'''
104
+ neg_prompt = '''Complex textures, intricate patterns, realistic lighting, high contrast, reflections, fuzzy surface, photographic quality, vibrant colors, detailed background, shadows, disfigured, deformed, ugly, multiple, duplicate.'''
105
+
106
+
107
  parameters = {
108
  'taskType': 'TEXT_IMAGE',
109
  'textToImageParams': {'text': new_prompt,