vibs08 commited on
Commit
35901d4
·
verified ·
1 Parent(s): ebd340c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -106,7 +106,8 @@ def gen_pos_prompt(text):
106
 
107
  def generate_image_from_text(pos_prompt):
108
  new_prompt = gen_pos_prompt(pos_prompt)
109
- neg_prompt = '''Highly detailed, complex textures, intricate patterns, realistic lighting, high contrast, reflections, fuzzy surface, realistic proportions, hyperrealistic, photographic quality, vibrant colors, detailed background, shadows, disfigured, deformed, ugly.'''
 
110
  parameters = {
111
  'taskType': 'TEXT_IMAGE',
112
  'textToImageParams': {'text': new_prompt,
 
106
 
107
  def generate_image_from_text(pos_prompt):
108
  new_prompt = gen_pos_prompt(pos_prompt)
109
+ print(new_prompt)
110
+ 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.'''
111
  parameters = {
112
  'taskType': 'TEXT_IMAGE',
113
  'textToImageParams': {'text': new_prompt,