Update app.py
Browse files
app.py
CHANGED
|
@@ -71,22 +71,22 @@ with gr.Blocks(css=css) as demo:
|
|
| 71 |
with gr.Row():
|
| 72 |
prompt = gr.Text(
|
| 73 |
label="Prompt",
|
| 74 |
-
show_label=
|
| 75 |
max_lines=1,
|
| 76 |
placeholder="Enter your prompt",
|
| 77 |
-
container=
|
| 78 |
)
|
| 79 |
|
| 80 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
| 81 |
|
| 82 |
-
result = gr.Image(label="Result", show_label=
|
| 83 |
|
| 84 |
-
with gr.Accordion("Advanced Settings", open=
|
| 85 |
negative_prompt = gr.Text(
|
| 86 |
label="Negative prompt",
|
| 87 |
max_lines=1,
|
| 88 |
placeholder="Enter a negative prompt",
|
| 89 |
-
visible=
|
| 90 |
)
|
| 91 |
|
| 92 |
seed = gr.Slider(
|
|
@@ -151,4 +151,4 @@ with gr.Blocks(css=css) as demo:
|
|
| 151 |
)
|
| 152 |
|
| 153 |
if __name__ == "__main__":
|
| 154 |
-
demo.launch()
|
|
|
|
| 71 |
with gr.Row():
|
| 72 |
prompt = gr.Text(
|
| 73 |
label="Prompt",
|
| 74 |
+
show_label=True,
|
| 75 |
max_lines=1,
|
| 76 |
placeholder="Enter your prompt",
|
| 77 |
+
container=True,
|
| 78 |
)
|
| 79 |
|
| 80 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
| 81 |
|
| 82 |
+
result = gr.Image(label="Result", show_label=True)
|
| 83 |
|
| 84 |
+
with gr.Accordion("Advanced Settings", open=True):
|
| 85 |
negative_prompt = gr.Text(
|
| 86 |
label="Negative prompt",
|
| 87 |
max_lines=1,
|
| 88 |
placeholder="Enter a negative prompt",
|
| 89 |
+
visible=True,
|
| 90 |
)
|
| 91 |
|
| 92 |
seed = gr.Slider(
|
|
|
|
| 151 |
)
|
| 152 |
|
| 153 |
if __name__ == "__main__":
|
| 154 |
+
demo.launch(share=True)
|