Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
|
|
|
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,
|