Spaces:
Running
on
Zero
Running
on
Zero
examples
Browse files- gradio_app_asy.py +10 -19
gradio_app_asy.py
CHANGED
@@ -225,7 +225,10 @@ with gr.Blocks() as demo:
|
|
225 |
with gr.Column(scale=1):
|
226 |
frame_selector = gr.Radio(choices=["4 frame", "9 frame"], label="Select Model")
|
227 |
with gr.Column(scale=2):
|
228 |
-
domain_selector = gr.Dropdown(choices=[
|
|
|
|
|
|
|
229 |
|
230 |
# Load Model Button
|
231 |
load_button = gr.Button("Load Model")
|
@@ -262,24 +265,12 @@ with gr.Blocks() as demo:
|
|
262 |
"sks1, 3*3 puzzle of 9 sub-images, step-by-step construction process of a LEGO model,<image-1> Lay down a gray plate as a road surface.<image-2> Position two red 2x4 bricks side by side to start forming a sports car’s chassis.<image-3> Attach black slope bricks at the front, shaping a sleek hood.<image-4> Insert transparent pieces at the front for headlights.<image-5> Clip on black wheel assemblies at each corner.<image-6> Add a windshield piece and a small black steering wheel inside.<image-7> Place smooth tiles on top to create a glossy roof.<image-8> Add side mirrors and a spoiler at the back.<image-9> Conclude by placing a minifigure driver behind the wheel, ready to race.",
|
263 |
1855705978
|
264 |
],
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
# [
|
272 |
-
# "sks6, 3*3 puzzle of 9 sub-images, step-by-step portrait painting process", # prompt
|
273 |
-
# "./gradio_examples/portrait.png",
|
274 |
-
# "Portrait", # recraft_model
|
275 |
-
# 999 # seed
|
276 |
-
# ],
|
277 |
-
# [
|
278 |
-
# "sks10, 3*3 puzzle of 9 sub-images, step-by-step sketch painting process,", # prompt
|
279 |
-
# "./gradio_examples/sketch.png",
|
280 |
-
# "Sketch",
|
281 |
-
# 2023
|
282 |
-
# ]
|
283 |
]
|
284 |
|
285 |
gr.Examples(
|
|
|
225 |
with gr.Column(scale=1):
|
226 |
frame_selector = gr.Radio(choices=["4 frame", "9 frame"], label="Select Model")
|
227 |
with gr.Column(scale=2):
|
228 |
+
domain_selector = gr.Dropdown(choices=["LEGO", "Cook", "Painting", "Icon", "Landscape illustration",
|
229 |
+
"Portrait", "Transformer", "Sand art", "Illustration", "Sketch",
|
230 |
+
"Clay toys", "Clay sculpture", "Zbrush Modeling", "Wood sculpture", "Ink painting",
|
231 |
+
"Pencil sketch", "Fabric toys", "Oil painting", "Jade Carving", "Line draw", "Emoji"], label="Select Domains")
|
232 |
|
233 |
# Load Model Button
|
234 |
load_button = gr.Button("Load Model")
|
|
|
265 |
"sks1, 3*3 puzzle of 9 sub-images, step-by-step construction process of a LEGO model,<image-1> Lay down a gray plate as a road surface.<image-2> Position two red 2x4 bricks side by side to start forming a sports car’s chassis.<image-3> Attach black slope bricks at the front, shaping a sleek hood.<image-4> Insert transparent pieces at the front for headlights.<image-5> Clip on black wheel assemblies at each corner.<image-6> Add a windshield piece and a small black steering wheel inside.<image-7> Place smooth tiles on top to create a glossy roof.<image-8> Add side mirrors and a spoiler at the back.<image-9> Conclude by placing a minifigure driver behind the wheel, ready to race.",
|
266 |
1855705978
|
267 |
],
|
268 |
+
[
|
269 |
+
"9 frame",
|
270 |
+
"Portrait",
|
271 |
+
"sks6, 3*3 puzzle of 9 sub-images, step-by-step portrait painting process, woman with blonde curly hair",
|
272 |
+
1062070717
|
273 |
+
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
]
|
275 |
|
276 |
gr.Examples(
|