Spaces:
Configuration error
Configuration error
Maitreya Patel
commited on
Commit
·
4a92f66
1
Parent(s):
90ee823
bugs resolved
Browse files
app.py
CHANGED
|
@@ -113,10 +113,6 @@ with gr.Blocks() as demo:
|
|
| 113 |
max_lines=1,
|
| 114 |
placeholder="Enter your prompt",
|
| 115 |
elem_id="prompt-text-input",
|
| 116 |
-
).style(
|
| 117 |
-
border=(True, False, True, True),
|
| 118 |
-
rounded=(True, False, False, True),
|
| 119 |
-
container=False,
|
| 120 |
)
|
| 121 |
|
| 122 |
with gr.Row():
|
|
@@ -127,10 +123,6 @@ with gr.Blocks() as demo:
|
|
| 127 |
max_lines=1,
|
| 128 |
placeholder="Enter your negative prompt",
|
| 129 |
elem_id="prompt-text-input",
|
| 130 |
-
).style(
|
| 131 |
-
border=(True, False, True, True),
|
| 132 |
-
rounded=(True, False, False, True),
|
| 133 |
-
container=False,
|
| 134 |
)
|
| 135 |
|
| 136 |
with gr.Row():
|
|
@@ -140,11 +132,11 @@ with gr.Blocks() as demo:
|
|
| 140 |
)
|
| 141 |
|
| 142 |
with gr.Row():
|
| 143 |
-
btn = gr.Button(value="Generate Image"
|
| 144 |
|
| 145 |
gallery = gr.Image(
|
| 146 |
height=512, width=512, label="Generated images", show_label=True, elem_id="gallery"
|
| 147 |
-
)
|
| 148 |
|
| 149 |
btn.click(
|
| 150 |
get_images,
|
|
|
|
| 113 |
max_lines=1,
|
| 114 |
placeholder="Enter your prompt",
|
| 115 |
elem_id="prompt-text-input",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
)
|
| 117 |
|
| 118 |
with gr.Row():
|
|
|
|
| 123 |
max_lines=1,
|
| 124 |
placeholder="Enter your negative prompt",
|
| 125 |
elem_id="prompt-text-input",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
)
|
| 127 |
|
| 128 |
with gr.Row():
|
|
|
|
| 132 |
)
|
| 133 |
|
| 134 |
with gr.Row():
|
| 135 |
+
btn = gr.Button(value="Generate Image")
|
| 136 |
|
| 137 |
gallery = gr.Image(
|
| 138 |
height=512, width=512, label="Generated images", show_label=True, elem_id="gallery"
|
| 139 |
+
)
|
| 140 |
|
| 141 |
btn.click(
|
| 142 |
get_images,
|