Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -57,13 +57,6 @@ def infer(
|
|
57 |
|
58 |
return image, seed, full_prompt, full_negative_prompt
|
59 |
|
60 |
-
|
61 |
-
examples = [
|
62 |
-
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
|
63 |
-
"An astronaut riding a green horse",
|
64 |
-
"A delicious ceviche cheesecake slice",
|
65 |
-
]
|
66 |
-
|
67 |
css = """
|
68 |
#col-container {
|
69 |
margin: 0 auto;
|
@@ -144,8 +137,6 @@ with gr.Blocks(css=css) as demo:
|
|
144 |
full_prompt_output = gr.Textbox(label="Full Prompt", interactive=False)
|
145 |
full_negative_prompt_output = gr.Textbox(label="Full Negative Prompt", interactive=False)
|
146 |
|
147 |
-
gr.Examples(examples=examples, inputs=[prompt])
|
148 |
-
|
149 |
gr.on(
|
150 |
triggers=[run_button.click, prompt.submit],
|
151 |
fn=infer,
|
|
|
57 |
|
58 |
return image, seed, full_prompt, full_negative_prompt
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
css = """
|
61 |
#col-container {
|
62 |
margin: 0 auto;
|
|
|
137 |
full_prompt_output = gr.Textbox(label="Full Prompt", interactive=False)
|
138 |
full_negative_prompt_output = gr.Textbox(label="Full Negative Prompt", interactive=False)
|
139 |
|
|
|
|
|
140 |
gr.on(
|
141 |
triggers=[run_button.click, prompt.submit],
|
142 |
fn=infer,
|