Spaces:
Build error
Build error
Add negative prompt
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ control_task_list = [
|
|
| 79 |
]
|
| 80 |
|
| 81 |
a_prompt = 'best quality, extremely detailed, architecture render, photorealistic, hyper realistic, surreal, dali, 3d rendering, render, 8k, 16k, extremely detailed, unreal engine, octane, maya'
|
| 82 |
-
n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality'
|
| 83 |
|
| 84 |
with block:
|
| 85 |
gr.Markdown("## ControlNet - Architectural Sketch to Render Image")
|
|
@@ -88,7 +88,7 @@ with block:
|
|
| 88 |
Demo for ControlNet, Optimized for architectural sketch, based on <a href="https://github.com/lllyasviel/ControlNet" style="text-decoration: underline;" target="_blank"> lllyasviel ControlNet </a> implementation.
|
| 89 |
</p>
|
| 90 |
''')
|
| 91 |
-
|
| 92 |
with gr.Row():
|
| 93 |
with gr.Column():
|
| 94 |
input_image = gr.Image(source='upload', type="numpy")
|
|
|
|
| 79 |
]
|
| 80 |
|
| 81 |
a_prompt = 'best quality, extremely detailed, architecture render, photorealistic, hyper realistic, surreal, dali, 3d rendering, render, 8k, 16k, extremely detailed, unreal engine, octane, maya'
|
| 82 |
+
n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, number, text, watermark, fewer digits, cropped, worst quality, low quality'
|
| 83 |
|
| 84 |
with block:
|
| 85 |
gr.Markdown("## ControlNet - Architectural Sketch to Render Image")
|
|
|
|
| 88 |
Demo for ControlNet, Optimized for architectural sketch, based on <a href="https://github.com/lllyasviel/ControlNet" style="text-decoration: underline;" target="_blank"> lllyasviel ControlNet </a> implementation.
|
| 89 |
</p>
|
| 90 |
''')
|
| 91 |
+
|
| 92 |
with gr.Row():
|
| 93 |
with gr.Column():
|
| 94 |
input_image = gr.Image(source='upload', type="numpy")
|