Update app.py
Browse files
app.py
CHANGED
|
@@ -41,8 +41,8 @@ def generate(prompt, negative_prompt):
|
|
| 41 |
demo = gr.Interface(
|
| 42 |
fn=generate,
|
| 43 |
inputs=[
|
| 44 |
-
gr.Textbox(label="
|
| 45 |
-
gr.Textbox(label="
|
| 46 |
],
|
| 47 |
outputs=gr.Image(type="filepath", label="PNG"),
|
| 48 |
title="Графическая мини-студия"
|
|
|
|
| 41 |
demo = gr.Interface(
|
| 42 |
fn=generate,
|
| 43 |
inputs=[
|
| 44 |
+
gr.Textbox(label="Positive"),
|
| 45 |
+
gr.Textbox(label="Negative", value="low quality, plastic, blurry") # Значение по умолчанию
|
| 46 |
],
|
| 47 |
outputs=gr.Image(type="filepath", label="PNG"),
|
| 48 |
title="Графическая мини-студия"
|