Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def display_and_download_images(output_images, metadata):
|
|
95 |
|
96 |
PIPELINE_NAMES = Literal["txt2img", "inpaint", "img2img"]
|
97 |
|
98 |
-
DEFAULT_PROMPT = "sprinkled donut sitting on top of a green cherry
|
99 |
DEFAULT_WIDTH, DEFAULT_HEIGHT = 512, 512
|
100 |
OUTPUT_IMAGE_KEY = "output_img"
|
101 |
LOADED_IMAGE_KEY = "loaded_image"
|
@@ -236,7 +236,7 @@ def prompt_and_generate_button(prefix, pipeline_name: PIPELINE_NAMES, **kwargs):
|
|
236 |
with col2:
|
237 |
negative_prompt = st.text_area(
|
238 |
"Negative prompt",
|
239 |
-
value="(disfigured), bad quality, ((bad art)), ((deformed)), ((extra limbs)), (((duplicate))), ((morbid)), (((ugly)), blurry, ((bad anatomy)), (((bad proportions))), (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), (fused fingers), (too many fingers), (((long neck))), Deformed, blurry"
|
240 |
key=f"{prefix}-negative-prompt",
|
241 |
)
|
242 |
|
|
|
95 |
|
96 |
PIPELINE_NAMES = Literal["txt2img", "inpaint", "img2img"]
|
97 |
|
98 |
+
DEFAULT_PROMPT = "sprinkled donut sitting on top of a green cherry apple, colorful hyperrealism"
|
99 |
DEFAULT_WIDTH, DEFAULT_HEIGHT = 512, 512
|
100 |
OUTPUT_IMAGE_KEY = "output_img"
|
101 |
LOADED_IMAGE_KEY = "loaded_image"
|
|
|
236 |
with col2:
|
237 |
negative_prompt = st.text_area(
|
238 |
"Negative prompt",
|
239 |
+
value="(disfigured), bad quality, ((bad art)), ((deformed)), ((extra limbs)), (((duplicate))), ((morbid)), (((ugly)), blurry, ((bad anatomy)), (((bad proportions))), (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), (fused fingers), (too many fingers), (((long neck))), Deformed, blurry",
|
240 |
key=f"{prefix}-negative-prompt",
|
241 |
)
|
242 |
|