Examples
Browse files
app.py
CHANGED
|
@@ -458,8 +458,6 @@ adapted from the officical code repo [FramePack](https://github.com/lllyasviel/F
|
|
| 458 |
input_image = gr.ImageEditor(type="numpy", label="Image", height=320, brush=gr.Brush(colors=["#ffffff"]))
|
| 459 |
prompt = gr.Textbox(label="Prompt", value='')
|
| 460 |
t2v = gr.Checkbox(label="do text-to-video", value=False)
|
| 461 |
-
example_quick_prompts = gr.Dataset(samples=quick_prompts, label='Quick List', samples_per_page=1000, components=[prompt])
|
| 462 |
-
example_quick_prompts.click(lambda x: x[0], inputs=[example_quick_prompts], outputs=prompt, show_progress=False, queue=False)
|
| 463 |
|
| 464 |
with gr.Row():
|
| 465 |
start_button = gr.Button(value="Start Generation")
|
|
@@ -510,7 +508,8 @@ adapted from the officical code repo [FramePack](https://github.com/lllyasviel/F
|
|
| 510 |
# cache_examples=True
|
| 511 |
# )
|
| 512 |
|
| 513 |
-
gr.
|
|
|
|
| 514 |
examples = [
|
| 515 |
[
|
| 516 |
"./img_examples/Example1.png", # input_image
|
|
|
|
| 458 |
input_image = gr.ImageEditor(type="numpy", label="Image", height=320, brush=gr.Brush(colors=["#ffffff"]))
|
| 459 |
prompt = gr.Textbox(label="Prompt", value='')
|
| 460 |
t2v = gr.Checkbox(label="do text-to-video", value=False)
|
|
|
|
|
|
|
| 461 |
|
| 462 |
with gr.Row():
|
| 463 |
start_button = gr.Button(value="Start Generation")
|
|
|
|
| 508 |
# cache_examples=True
|
| 509 |
# )
|
| 510 |
|
| 511 |
+
with gr.Row(visible=False):
|
| 512 |
+
gr.Examples(
|
| 513 |
examples = [
|
| 514 |
[
|
| 515 |
"./img_examples/Example1.png", # input_image
|