ShalomKing commited on
Commit
459be94
·
verified ·
1 Parent(s): 0e80bdf

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +8 -16
app.py CHANGED
@@ -353,42 +353,36 @@ def create_interface():
353
  with gr.Column():
354
  image_input = gr.Image(
355
  type="filepath",
356
- label="Upload Portrait Image",
357
- info="Clear face visibility recommended"
358
  )
359
  audio_input_i2v = gr.Audio(
360
  type="filepath",
361
- label="Upload Audio",
362
- info="MP3, WAV, or FLAC"
363
  )
364
 
365
  with gr.Accordion("Advanced Settings", open=False):
366
  resolution_i2v = gr.Radio(
367
  choices=["480p", "720p"],
368
  value="480p",
369
- label="Resolution",
370
- info="480p is faster, 720p is higher quality"
371
  )
372
  steps_i2v = gr.Slider(
373
  minimum=20,
374
  maximum=50,
375
  value=40,
376
  step=1,
377
- label="Diffusion Steps",
378
- info="More steps = higher quality but slower"
379
  )
380
  audio_scale_i2v = gr.Slider(
381
  minimum=1.0,
382
  maximum=5.0,
383
  value=3.0,
384
  step=0.5,
385
- label="Audio Guide Scale",
386
- info="Controls audio influence (2-4 recommended)"
387
  )
388
  seed_i2v = gr.Number(
389
  value=-1,
390
- label="Seed",
391
- info="-1 for random"
392
  )
393
 
394
  generate_btn_i2v = gr.Button("🎬 Generate Video", variant="primary", size="lg")
@@ -410,13 +404,11 @@ def create_interface():
410
  with gr.Row():
411
  with gr.Column():
412
  video_input = gr.Video(
413
- label="Upload Video",
414
- info="Video with visible face"
415
  )
416
  audio_input_v2v = gr.Audio(
417
  type="filepath",
418
- label="Upload New Audio",
419
- info="MP3, WAV, or FLAC"
420
  )
421
 
422
  with gr.Accordion("Advanced Settings", open=False):
 
353
  with gr.Column():
354
  image_input = gr.Image(
355
  type="filepath",
356
+ label="Upload Portrait Image (clear face visibility recommended)"
 
357
  )
358
  audio_input_i2v = gr.Audio(
359
  type="filepath",
360
+ label="Upload Audio (MP3, WAV, or FLAC)"
 
361
  )
362
 
363
  with gr.Accordion("Advanced Settings", open=False):
364
  resolution_i2v = gr.Radio(
365
  choices=["480p", "720p"],
366
  value="480p",
367
+ label="Resolution (480p faster, 720p higher quality)"
 
368
  )
369
  steps_i2v = gr.Slider(
370
  minimum=20,
371
  maximum=50,
372
  value=40,
373
  step=1,
374
+ label="Diffusion Steps (more = higher quality but slower)"
 
375
  )
376
  audio_scale_i2v = gr.Slider(
377
  minimum=1.0,
378
  maximum=5.0,
379
  value=3.0,
380
  step=0.5,
381
+ label="Audio Guide Scale (2-4 recommended)"
 
382
  )
383
  seed_i2v = gr.Number(
384
  value=-1,
385
+ label="Seed (-1 for random)"
 
386
  )
387
 
388
  generate_btn_i2v = gr.Button("🎬 Generate Video", variant="primary", size="lg")
 
404
  with gr.Row():
405
  with gr.Column():
406
  video_input = gr.Video(
407
+ label="Upload Video (with visible face)"
 
408
  )
409
  audio_input_v2v = gr.Audio(
410
  type="filepath",
411
+ label="Upload New Audio (MP3, WAV, or FLAC)"
 
412
  )
413
 
414
  with gr.Accordion("Advanced Settings", open=False):