Spaces:
Running
on
Zero
Running
on
Zero
envs
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ image_examples = [
|
|
113 |
["__asset__/images/object/turtle-1.jpg",
|
114 |
"a sea turtle gracefully swimming over a coral reef in the clear blue ocean.",
|
115 |
"object",
|
116 |
-
|
117 |
"",
|
118 |
json.load(open("__asset__/trajs/object/turtle-1.json")),
|
119 |
"__asset__/images/object/turtle-1.jpg",
|
@@ -122,7 +122,7 @@ image_examples = [
|
|
122 |
["__asset__/images/object/rose-1.jpg",
|
123 |
"a red rose engulfed in flames.",
|
124 |
"object",
|
125 |
-
|
126 |
"",
|
127 |
json.load(open("__asset__/trajs/object/rose-1.json")),
|
128 |
"__asset__/images/object/rose-1.jpg",
|
@@ -131,7 +131,7 @@ image_examples = [
|
|
131 |
["__asset__/images/object/jellyfish-1.jpg",
|
132 |
"intricate detailing,photorealism,hyperrealistic, glowing jellyfish mushroom, flying, starry sky, bokeh, golden ratio composition.",
|
133 |
"object",
|
134 |
-
|
135 |
"HelloObject",
|
136 |
json.load(open("__asset__/trajs/object/jellyfish-1.json")),
|
137 |
"__asset__/images/object/jellyfish-1.jpg",
|
@@ -141,7 +141,7 @@ image_examples = [
|
|
141 |
["__asset__/images/camera/lush-1.jpg",
|
142 |
"detailed craftsmanship, photorealism, hyperrealistic, roaring waterfall, misty spray, lush greenery, vibrant rainbow, golden ratio composition.",
|
143 |
"camera",
|
144 |
-
|
145 |
"HelloObject",
|
146 |
json.load(open("__asset__/trajs/camera/lush-1.json")),
|
147 |
"__asset__/images/camera/lush-1.jpg",
|
@@ -150,7 +150,7 @@ image_examples = [
|
|
150 |
["__asset__/images/camera/tusun-1.jpg",
|
151 |
"tusuncub with its mouth open, blurry, open mouth, fangs, photo background, looking at viewer, tongue, full body, solo, cute and lovely, Beautiful and realistic eye details, perfect anatomy, Nonsense, pure background, Centered-Shot, realistic photo, photograph, 4k, hyper detailed, DSLR, 24 Megapixels, 8mm Lens, Full Frame, film grain, Global Illumination, studio Lighting, Award Winning Photography, diffuse reflection, ray tracing.",
|
152 |
"camera",
|
153 |
-
|
154 |
"TUSUN",
|
155 |
json.load(open("__asset__/trajs/camera/tusun-1.json")),
|
156 |
"__asset__/images/camera/tusun-1.jpg",
|
@@ -159,7 +159,7 @@ image_examples = [
|
|
159 |
["__asset__/images/camera/painting-1.jpg",
|
160 |
"A oil painting.",
|
161 |
"camera",
|
162 |
-
|
163 |
"",
|
164 |
json.load(open("__asset__/trajs/camera/painting-1.json")),
|
165 |
"__asset__/images/camera/painting-1.jpg",
|
@@ -570,13 +570,13 @@ with block as demo:
|
|
570 |
with gr.Row():
|
571 |
def process_example(input_image, prompt, drag_mode, seed, personalized, tracking_points, first_frame_path):
|
572 |
|
573 |
-
return input_image, prompt, drag_mode, seed, personalized
|
574 |
|
575 |
example = gr.Examples(
|
576 |
label="Input Example",
|
577 |
examples=image_examples,
|
578 |
inputs=[input_image, prompt, drag_mode, seed, personalized, tracking_points, first_frame_path],
|
579 |
-
outputs=[input_image, prompt, drag_mode, seed, personalized],
|
580 |
fn=process_example,
|
581 |
run_on_click=True,
|
582 |
examples_per_page=10,
|
|
|
113 |
["__asset__/images/object/turtle-1.jpg",
|
114 |
"a sea turtle gracefully swimming over a coral reef in the clear blue ocean.",
|
115 |
"object",
|
116 |
+
11318446767408804497,
|
117 |
"",
|
118 |
json.load(open("__asset__/trajs/object/turtle-1.json")),
|
119 |
"__asset__/images/object/turtle-1.jpg",
|
|
|
122 |
["__asset__/images/object/rose-1.jpg",
|
123 |
"a red rose engulfed in flames.",
|
124 |
"object",
|
125 |
+
6854275249656120509,
|
126 |
"",
|
127 |
json.load(open("__asset__/trajs/object/rose-1.json")),
|
128 |
"__asset__/images/object/rose-1.jpg",
|
|
|
131 |
["__asset__/images/object/jellyfish-1.jpg",
|
132 |
"intricate detailing,photorealism,hyperrealistic, glowing jellyfish mushroom, flying, starry sky, bokeh, golden ratio composition.",
|
133 |
"object",
|
134 |
+
17966188172968903484,
|
135 |
"HelloObject",
|
136 |
json.load(open("__asset__/trajs/object/jellyfish-1.json")),
|
137 |
"__asset__/images/object/jellyfish-1.jpg",
|
|
|
141 |
["__asset__/images/camera/lush-1.jpg",
|
142 |
"detailed craftsmanship, photorealism, hyperrealistic, roaring waterfall, misty spray, lush greenery, vibrant rainbow, golden ratio composition.",
|
143 |
"camera",
|
144 |
+
7970487946960948963,
|
145 |
"HelloObject",
|
146 |
json.load(open("__asset__/trajs/camera/lush-1.json")),
|
147 |
"__asset__/images/camera/lush-1.jpg",
|
|
|
150 |
["__asset__/images/camera/tusun-1.jpg",
|
151 |
"tusuncub with its mouth open, blurry, open mouth, fangs, photo background, looking at viewer, tongue, full body, solo, cute and lovely, Beautiful and realistic eye details, perfect anatomy, Nonsense, pure background, Centered-Shot, realistic photo, photograph, 4k, hyper detailed, DSLR, 24 Megapixels, 8mm Lens, Full Frame, film grain, Global Illumination, studio Lighting, Award Winning Photography, diffuse reflection, ray tracing.",
|
152 |
"camera",
|
153 |
+
996953226890228361,
|
154 |
"TUSUN",
|
155 |
json.load(open("__asset__/trajs/camera/tusun-1.json")),
|
156 |
"__asset__/images/camera/tusun-1.jpg",
|
|
|
159 |
["__asset__/images/camera/painting-1.jpg",
|
160 |
"A oil painting.",
|
161 |
"camera",
|
162 |
+
16867854766769816385,
|
163 |
"",
|
164 |
json.load(open("__asset__/trajs/camera/painting-1.json")),
|
165 |
"__asset__/images/camera/painting-1.jpg",
|
|
|
570 |
with gr.Row():
|
571 |
def process_example(input_image, prompt, drag_mode, seed, personalized, tracking_points, first_frame_path):
|
572 |
|
573 |
+
return input_image, prompt, drag_mode, seed, personalized, tracking_points, first_frame_path
|
574 |
|
575 |
example = gr.Examples(
|
576 |
label="Input Example",
|
577 |
examples=image_examples,
|
578 |
inputs=[input_image, prompt, drag_mode, seed, personalized, tracking_points, first_frame_path],
|
579 |
+
outputs=[input_image, prompt, drag_mode, seed, personalized, tracking_points, first_frame_path],
|
580 |
fn=process_example,
|
581 |
run_on_click=True,
|
582 |
examples_per_page=10,
|