Spaces:
Runtime error
Runtime error
Update app.py
Browse files98 unmodified lines9910010110210310410510610710810911011111211311411511611711811998 unmodified linesGenerate live camera shot from input face</p>""")with gr.Row():with gr.Column():face_in = gr.Image(type="filepath", label="Face to copy")with gr.Column():camera_shot = gr.Dropdown(label = "Camera Shot",info = "Use standard camera shots vocabulary, or drop your custom shot as conditional pose (1280*720 ratio is recommended)",choices = ["custom", "close-up", "medium close-up", "medium shot", "cowboy shot", "medium full shot", "full shot"],value = "custom")condition_shot = gr.Image(type="filepath", label="Custom conditional shot (Optional)")prompt = gr.Textbox(label="Prompt")chosen_model = gr.Radio(label="Choose a model", choices=["i2vgen-xl", "stable-video"], value="i2vgen-xl", interactive=False, visible=False)with gr.Column():submit_btn = gr.Button("Submit")98 unmodified lines9910010110210310410510610710810911011111211311411511611711811912098 unmodified linesGenerate live camera shot from input face</p>""")with gr.Group():with gr.Row():with gr.Column():face_in = gr.Image(type="filepath", label="Face to copy")with gr.Column():camera_shot = gr.Dropdown(label = "Camera Shot",info = "Use standard camera shots vocabulary, or drop your custom shot as conditional pose (1280*720 ratio is recommended)",choices = ["custom", "close-up", "medium close-up", "medium shot", "cowboy shot", "medium full shot", "full shot"],value = "custom")condition_shot = gr.Image(type="filepath", label="Custom conditional shot (Optional)")prompt = gr.Textbox(label="Prompt")chosen_model = gr.Radio(label="Choose a model", choices=["i2vgen-xl", "stable-video"], value="i2vgen-xl", interactive=False, visible=False)with gr.Column():submit_btn = gr.Button("Submit")
app.py+16-15