GiorgioV commited on
Commit
24dcc45
·
verified ·
1 Parent(s): 5f74a6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -259,11 +259,11 @@ with gr.Blocks() as app:
259
  with gr.Column():
260
  with gr.Group(elem_id="group_all"):
261
  with gr.Row():
262
- start_image = gr.Image(type="pil", label="Start Frame", sources=["upload", "clipboard"])
263
  # Capture the Tabs component in a variable and assign IDs to tabs
264
  with gr.Tabs(elem_id="group_tabs") as tabs:
265
  with gr.TabItem("Upload", id="upload_tab"):
266
- end_image = gr.Image(type="pil", label="End Frame", sources=["upload", "clipboard"])
267
  with gr.TabItem("Generate", id="generate_tab"):
268
  generate_5seconds = gr.Button("Generate scene 5 seconds in the future", elem_id="fivesec")
269
  gr.Markdown("Generate a custom end-frame with an edit model like [Nano Banana](https://huggingface.co/spaces/multimodalart/nano-banana) or [Qwen Image Edit](https://huggingface.co/spaces/multimodalart/Qwen-Image-Edit-Fast)", elem_id="or_item")
 
259
  with gr.Column():
260
  with gr.Group(elem_id="group_all"):
261
  with gr.Row():
262
+ start_image = gr.Image(type="pil", label="Start Frame")
263
  # Capture the Tabs component in a variable and assign IDs to tabs
264
  with gr.Tabs(elem_id="group_tabs") as tabs:
265
  with gr.TabItem("Upload", id="upload_tab"):
266
+ end_image = gr.Image(type="pil", label="End Frame")
267
  with gr.TabItem("Generate", id="generate_tab"):
268
  generate_5seconds = gr.Button("Generate scene 5 seconds in the future", elem_id="fivesec")
269
  gr.Markdown("Generate a custom end-frame with an edit model like [Nano Banana](https://huggingface.co/spaces/multimodalart/nano-banana) or [Qwen Image Edit](https://huggingface.co/spaces/multimodalart/Qwen-Image-Edit-Fast)", elem_id="or_item")