TogetherAI
commited on
Commit
•
a501d08
1
Parent(s):
f132d01
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def generate_image(model, prompt, seed, negative_prompt, sampler, steps):
|
|
17 |
else:
|
18 |
return None
|
19 |
|
20 |
-
dropdown_model = gr.inputs.Dropdown(['Seek.art MEGA', 'Deliberate', 'Dreamlike Photoreal', 'Realistic Vision'
|
21 |
textbox_prompt = gr.inputs.Textbox(label="Prompt")
|
22 |
number_seed = gr.inputs.Number(label="Seed", default=0)
|
23 |
textbox_negative_prompt = gr.inputs.Textbox(label="Negative Prompt", default="")
|
@@ -35,7 +35,9 @@ interface = gr.Interface(
|
|
35 |
title="",
|
36 |
description="<center></center>",
|
37 |
examples=[],
|
38 |
-
layout="horizontal"
|
|
|
39 |
)
|
40 |
|
41 |
interface.launch()
|
|
|
|
17 |
else:
|
18 |
return None
|
19 |
|
20 |
+
dropdown_model = gr.inputs.Dropdown(['Seek.art MEGA', 'Deliberate', 'Dreamlike Photoreal', 'Realistic Vision'], label="Model", default="Seek.art MEGA")
|
21 |
textbox_prompt = gr.inputs.Textbox(label="Prompt")
|
22 |
number_seed = gr.inputs.Number(label="Seed", default=0)
|
23 |
textbox_negative_prompt = gr.inputs.Textbox(label="Negative Prompt", default="")
|
|
|
35 |
title="",
|
36 |
description="<center></center>",
|
37 |
examples=[],
|
38 |
+
layout="horizontal",
|
39 |
+
theme="ParityError/Interstellar" # Beispiethema
|
40 |
)
|
41 |
|
42 |
interface.launch()
|
43 |
+
|