陈硕 commited on
Commit
f25b569
1 Parent(s): 3a2f1ee

update orbit lora

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -323,15 +323,16 @@ with gr.Blocks() as demo:
323
  """)
324
  with gr.Row():
325
  with gr.Column():
326
- image_in = gr.Image(label="Image Input", type="filepath")
327
- prompt = gr.Textbox(label="Prompt")
328
- orbit_type = gr.Radio(label="Orbit type", choices=["Left", "Up"], value="Left", interactive=True)
329
- submit_btn = gr.Button("Submit")
330
-
331
- with gr.Column():
332
- with gr.Accordion("I2V: Image Input (cannot be used simultaneously with video input)", open=False):
333
- image_input = gr.Image(label="Input Image (will be cropped to 720 * 480)")
334
- examples_component_images = gr.Examples(examples_images, inputs=[image_input], cache_examples=False)
 
335
  # with gr.Accordion("V2V: Video Input (cannot be used simultaneously with image input)", open=False):
336
  # video_input = gr.Video(label="Input Video (will be cropped to 49 frames, 6 seconds at 8fps)")
337
  # strength = gr.Slider(0.1, 1.0, value=0.8, step=0.01, label="Strength")
 
323
  """)
324
  with gr.Row():
325
  with gr.Column():
326
+ image_in = gr.Image(label="Image Input", type="filepath")
327
+ examples_component_images = gr.Examples(examples_images, inputs=[image_in], cache_examples=False)
328
+ # prompt = gr.Textbox(label="Prompt")
329
+ orbit_type = gr.Radio(label="Orbit type", choices=["Left", "Up"], value="Left", interactive=True)
330
+ submit_btn = gr.Button("Submit")
331
+
332
+ # with gr.Column():
333
+ # with gr.Accordion("I2V: Image Input (cannot be used simultaneously with video input)", open=False):
334
+ # image_input = gr.Image(label="Input Image (will be cropped to 720 * 480)")
335
+ # examples_component_images = gr.Examples(examples_images, inputs=[image_in], cache_examples=False)
336
  # with gr.Accordion("V2V: Video Input (cannot be used simultaneously with image input)", open=False):
337
  # video_input = gr.Video(label="Input Video (will be cropped to 49 frames, 6 seconds at 8fps)")
338
  # strength = gr.Slider(0.1, 1.0, value=0.8, step=0.01, label="Strength")