Spaces:
Runtime error
Runtime error
Prompt
Browse files
app.py
CHANGED
|
@@ -1210,6 +1210,7 @@ def process(input_image,
|
|
| 1210 |
allocation_time = min(total_second_length * 60 * (1.5 if use_teacache else 3.0) * (1 + ((steps - 25) / 25))**2, 600)
|
| 1211 |
|
| 1212 |
if input_image_debug_value[0] is not None or end_image_debug_value[0] is not None or prompt_debug_value[0] is not None or total_second_length_debug_value[0] is not None:
|
|
|
|
| 1213 |
input_image = input_image_debug_value[0]
|
| 1214 |
end_image = end_image_debug_value[0]
|
| 1215 |
prompt = prompt_debug_value[0]
|
|
@@ -1677,7 +1678,7 @@ with block:
|
|
| 1677 |
"./img_examples/Example2.webp", # input_image
|
| 1678 |
"./img_examples/Example2.webp", # end_image
|
| 1679 |
0, # image_position
|
| 1680 |
-
"A woman
|
| 1681 |
"start_end", # generation_mode
|
| 1682 |
"Missing arm, long hand, unrealistic position, impossible contortion, visible bone, muscle contraction, poorly framed, blurred, blurry, over-smooth", # n_prompt
|
| 1683 |
True, # randomize_seed
|
|
@@ -1936,10 +1937,9 @@ with block:
|
|
| 1936 |
examples = [
|
| 1937 |
[
|
| 1938 |
"./img_examples/Example1.png", # input_image
|
| 1939 |
-
|
| 1940 |
0, # image_position
|
| 1941 |
-
"A
|
| 1942 |
-
"start_end", # generation_mode
|
| 1943 |
"Missing arm, long hand, unrealistic position, impossible contortion, visible bone, muscle contraction, poorly framed, blurred, blurry, over-smooth", # n_prompt
|
| 1944 |
True, # randomize_seed
|
| 1945 |
42, # seed
|
|
|
|
| 1210 |
allocation_time = min(total_second_length * 60 * (1.5 if use_teacache else 3.0) * (1 + ((steps - 25) / 25))**2, 600)
|
| 1211 |
|
| 1212 |
if input_image_debug_value[0] is not None or end_image_debug_value[0] is not None or prompt_debug_value[0] is not None or total_second_length_debug_value[0] is not None:
|
| 1213 |
+
print("not None")
|
| 1214 |
input_image = input_image_debug_value[0]
|
| 1215 |
end_image = end_image_debug_value[0]
|
| 1216 |
prompt = prompt_debug_value[0]
|
|
|
|
| 1678 |
"./img_examples/Example2.webp", # input_image
|
| 1679 |
"./img_examples/Example2.webp", # end_image
|
| 1680 |
0, # image_position
|
| 1681 |
+
"A woman jumps out of the train and arrives on the ground, viewed from the outside, photorealistic, realistic, amateur photography, midday, insanely detailed, 8k",
|
| 1682 |
"start_end", # generation_mode
|
| 1683 |
"Missing arm, long hand, unrealistic position, impossible contortion, visible bone, muscle contraction, poorly framed, blurred, blurry, over-smooth", # n_prompt
|
| 1684 |
True, # randomize_seed
|
|
|
|
| 1937 |
examples = [
|
| 1938 |
[
|
| 1939 |
"./img_examples/Example1.png", # input_image
|
| 1940 |
+
"./img_examples/Example1.png", # end_image
|
| 1941 |
0, # image_position
|
| 1942 |
+
"A woman gets off the train and arrives on the ground, viewed from the outside, photorealistic, realistic, amateur photography, midday, insanely detailed, 8k", # generation_mode
|
|
|
|
| 1943 |
"Missing arm, long hand, unrealistic position, impossible contortion, visible bone, muscle contraction, poorly framed, blurred, blurry, over-smooth", # n_prompt
|
| 1944 |
True, # randomize_seed
|
| 1945 |
42, # seed
|