Alexander Bagus
commited on
Commit
·
bb1fac2
1
Parent(s):
bc09b2c
22
Browse files
app.py
CHANGED
|
@@ -73,10 +73,10 @@ with gr.Blocks() as demo:
|
|
| 73 |
gr.HTML(read_file("static/header.html"))
|
| 74 |
with gr.Column(elem_id="col-container"):
|
| 75 |
with gr.Row():
|
| 76 |
-
prompt = gr.
|
| 77 |
label="Prompt",
|
| 78 |
show_label=False,
|
| 79 |
-
max_lines=
|
| 80 |
placeholder="Enter your prompt",
|
| 81 |
container=False,
|
| 82 |
scale=2
|
|
@@ -130,7 +130,7 @@ with gr.Blocks() as demo:
|
|
| 130 |
value=8,
|
| 131 |
)
|
| 132 |
output_image = gr.Image(label="Result", show_label=False)
|
| 133 |
-
|
| 134 |
gr.Examples(examples=examples, inputs=[prompt])
|
| 135 |
gr.on(
|
| 136 |
triggers=[run_button.click, prompt.submit],
|
|
|
|
| 73 |
gr.HTML(read_file("static/header.html"))
|
| 74 |
with gr.Column(elem_id="col-container"):
|
| 75 |
with gr.Row():
|
| 76 |
+
prompt = gr.Textbox(
|
| 77 |
label="Prompt",
|
| 78 |
show_label=False,
|
| 79 |
+
max_lines=2,
|
| 80 |
placeholder="Enter your prompt",
|
| 81 |
container=False,
|
| 82 |
scale=2
|
|
|
|
| 130 |
value=8,
|
| 131 |
)
|
| 132 |
output_image = gr.Image(label="Result", show_label=False)
|
| 133 |
+
|
| 134 |
gr.Examples(examples=examples, inputs=[prompt])
|
| 135 |
gr.on(
|
| 136 |
triggers=[run_button.click, prompt.submit],
|