Spaces:
Running
on
Zero
Running
on
Zero
tori29umai
commited on
Commit
•
d0a0381
1
Parent(s):
87e182a
app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,6 @@ class Img2Img:
|
|
34 |
self.setup_paths()
|
35 |
self.setup_models()
|
36 |
self.demo = self.layout()
|
37 |
-
self.default_nagative_prompt = "lowres, error, extra digit, fewer digits, cropped, worst quality,low quality, normal quality, jpeg artifacts, blurry"
|
38 |
self.post_filter = True
|
39 |
self.tagger_model = None
|
40 |
self.input_image_path = None
|
@@ -60,7 +59,7 @@ class Img2Img:
|
|
60 |
with gr.Row():
|
61 |
self.prompt = gr.Textbox(label="prompt", lines=3)
|
62 |
with gr.Row():
|
63 |
-
self.negative_prompt = gr.Textbox(label="negative_prompt", lines=3, value=
|
64 |
with gr.Row():
|
65 |
self.prompt_analysis_button = gr.Button("prompt解析")
|
66 |
|
|
|
34 |
self.setup_paths()
|
35 |
self.setup_models()
|
36 |
self.demo = self.layout()
|
|
|
37 |
self.post_filter = True
|
38 |
self.tagger_model = None
|
39 |
self.input_image_path = None
|
|
|
59 |
with gr.Row():
|
60 |
self.prompt = gr.Textbox(label="prompt", lines=3)
|
61 |
with gr.Row():
|
62 |
+
self.negative_prompt = gr.Textbox(label="negative_prompt", lines=3, value="lowres, error, extra digit, fewer digits, cropped, worst quality,low quality, normal quality, jpeg artifacts, blurry")
|
63 |
with gr.Row():
|
64 |
self.prompt_analysis_button = gr.Button("prompt解析")
|
65 |
|