Spaces:
Running on Zero
Running on Zero
input_image_debug = gr.Image(type="filepath", label="Image Debug")
Browse files
app.py
CHANGED
|
@@ -723,7 +723,7 @@ def _render_one_mode(name: str) -> dict:
|
|
| 723 |
|
| 724 |
with gr.Row(elem_id="default_examples"):
|
| 725 |
prompt_debug = gr.Textbox(label="Prompt Debug", value="")
|
| 726 |
-
input_image_debug = gr.Image(type="
|
| 727 |
output_video_debug = gr.Video(label="Generated Video", autoplay = True, loop = True, interactive = False)
|
| 728 |
gr.Examples(
|
| 729 |
examples=[["Schoolboy_without_backpack.webp"]],
|
|
@@ -1071,7 +1071,7 @@ async def run_example(dummy_image):
|
|
| 1071 |
}
|
| 1072 |
input_image_debug_value[0] = end_image_debug_value[0] = prompt_debug_value[0] = total_second_length_debug_value[0] = allocation_time_debug_value[0] = factor_debug_value[0] = None
|
| 1073 |
final_output = None
|
| 1074 |
-
async for output in _on_generate(mode_name="
|
| 1075 |
final_output = output
|
| 1076 |
|
| 1077 |
return final_output[1]
|
|
|
|
| 723 |
|
| 724 |
with gr.Row(elem_id="default_examples"):
|
| 725 |
prompt_debug = gr.Textbox(label="Prompt Debug", value="")
|
| 726 |
+
input_image_debug = gr.Image(type="filepath", label="Image Debug")
|
| 727 |
output_video_debug = gr.Video(label="Generated Video", autoplay = True, loop = True, interactive = False)
|
| 728 |
gr.Examples(
|
| 729 |
examples=[["Schoolboy_without_backpack.webp"]],
|
|
|
|
| 1071 |
}
|
| 1072 |
input_image_debug_value[0] = end_image_debug_value[0] = prompt_debug_value[0] = total_second_length_debug_value[0] = allocation_time_debug_value[0] = factor_debug_value[0] = None
|
| 1073 |
final_output = None
|
| 1074 |
+
async for output in _on_generate(mode_name="i2v", progress=gr.Progress(), **example_inputs):
|
| 1075 |
final_output = output
|
| 1076 |
|
| 1077 |
return final_output[1]
|