Spaces:
Runtime error
Runtime error
ipekoztas
commited on
Commit
Β·
37c762a
1
Parent(s):
b7c5eaf
app.py updated.
Browse files
app.py
CHANGED
|
@@ -324,25 +324,26 @@ with gr.Blocks() as demo:
|
|
| 324 |
submit = gr.Button("Generate", elem_id="generate", variant="primary")
|
| 325 |
|
| 326 |
with gr.Row(variant="panel"):
|
| 327 |
-
gr.
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
gr.
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
|
|
|
| 346 |
|
| 347 |
with gr.Column():
|
| 348 |
|
|
|
|
| 324 |
submit = gr.Button("Generate", elem_id="generate", variant="primary")
|
| 325 |
|
| 326 |
with gr.Row(variant="panel"):
|
| 327 |
+
with gr.Column():
|
| 328 |
+
gr.Examples(
|
| 329 |
+
examples=[
|
| 330 |
+
os.path.join("examples", img_name) for img_name in sorted(os.listdir("examples"))
|
| 331 |
+
],
|
| 332 |
+
inputs=[input_image],
|
| 333 |
+
label="Examples",
|
| 334 |
+
cache_examples=False,
|
| 335 |
+
examples_per_page=16
|
| 336 |
+
)
|
| 337 |
+
with gr.Column():
|
| 338 |
+
gr.Examples(
|
| 339 |
+
examples=[
|
| 340 |
+
os.path.join("styles", img_name) for img_name in sorted(os.listdir("styles"))
|
| 341 |
+
],
|
| 342 |
+
inputs=[input_image],
|
| 343 |
+
label="Styles",
|
| 344 |
+
cache_examples=False,
|
| 345 |
+
examples_per_page=16
|
| 346 |
+
)
|
| 347 |
|
| 348 |
with gr.Column():
|
| 349 |
|