Skip to content

App Configuration

Jerry Hogsett edited this page Jun 29, 2023 · 3 revisions

App Configuration is set via config.yaml

Notable settings

Setting Description Default
app_settings:auto_launch_browser Open default browser on start up True
user_interface:mtqdm_use_color Use colorful progress bars True
user_interface:mtqdm_palette Progress bar palette (default, rainbow, default) default
user_interface:mtqdm_use_color Use colorful progress bars True
user_interface:show_header Show App Headers/Footers (False for less screen use) True

Custom Configuration

To use a custom configuration file, launch the application with the --config_path argument:

> python webui.py --config_path "config-local.yaml"

All Settings

app_settings:
  auto_launch_browser: True
  server_name: "0.0.0.0"
  server_port: 7862
blender_settings:
  clean_frames: True
  frame_fixer_depth: 10
  frame_rate: 30
  gif_duration: 1000
  max_frame_rate: 1000
  projects_file: "video_blender_projects.csv"
  skip_frames: 100
directories:
  output_blender: "output/blender"
  output_deduplication: "output/deduplication"
  output_fps_change: "output/fps_change"
  output_gif_to_mp4: "output/gif_to_mp4"
  output_inflation: "output/inflation"
  output_interpolation: "output/interpolation"
  output_restoration: "output/restoration"
  output_resynthesis: "output/resynthesis"
  output_search: "output/search"
  output_upscaling: "output/upscaling"
  working: "temp"
deduplicate_settings:
  default_precision: 10
  default_threshold: 2500
  default_tuning_step: 100
  max_dupes_per_group: 0
  max_lines: 40
  max_max_dupes: 1000
  max_precision: 60
  max_tuning_rows: None
  max_threshold: 25000
  max_tuning_step: 10000
  min_threshold: 0
  min_tuning_step: 0
  threshold_step: 100
  tuning_step_step: 10
engine_settings:
  gpu_ids: "0"
  model: "ours"
  use_time_step: False
fps_change_settings:
  default_precision: 10
  ending_fps: 30
  max_precision: 60
  maximum_fps: 1024
  starting_fps: 25
gif_to_mp4_settings:
  default_crf: 23
  frame_rate: 30
  file_types:
  - "avi"
  - "flv"
  - "gif"
  - "m4v"
  - "mov"
  - "mp4"
  - "mpeg"
  - "mpg"
  - "qt"
  - "webm"
  - "wmv"
  maximum_crf: 28
  max_frame_rate: 1000
  minimum_crf: 17
  resampling_precision: 10
  use_tiling: False
interpolation_settings:
  create_gif: True
  create_zip: True
  create_txt: True
  gif_duration: 3000
  max_splits: 10
logviewer_settings:
  max_lines: 25
mp4_to_png_settings:
  frame_rate: 30
  max_frame_rate: 1000
restoration_settings:
  create_gif: True
  create_zip: True
  create_txt: True
  default_frames: 2
  default_precision: 10
  gif_duration: 1000
  max_frames: 10
  max_precision: 60
png_to_gif_settings:
  frame_rate: 30
  max_frame_rate: 1000
png_to_mp4_settings:
  default_crf: 23
  frame_rate: 30
  max_frame_rate: 1000
  maximum_crf: 28
  minimum_crf: 17
search_settings:
  default_splits: 10
  max_splits: 60
realesrgan_settings:
  fp32: True
  gpu_ids: "0"
  model_name: "RealESRGAN_x4plus"
  tile_pad: 10
  tiling: 256
upscale_settings:
  file_types:
  - "bmp"
  - "gif"
  - "png"
  - "jfif"
  - "jpe"
  - "jpeg"
  - "jpg"
user_interface:
  css_file: "webui.css"
  log_file: None
  mtqdm_use_color: True
  mtqdm_palette: "default"
  resources_path: "resources.csv"
  show_header: True
  theme: "default"
  tips_path: "guide"
Clone this wiki locally