Skip to content

Commit

Permalink
fix: format and linter changes
Browse files Browse the repository at this point in the history
Refs: #59

Signed-off-by: julianbollig <julian.bollig@tngtech.com>
  • Loading branch information
julianbollig committed Feb 25, 2025
1 parent 5d2e88a commit 00e22d9
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 87 deletions.
7 changes: 6 additions & 1 deletion WebUI/external/workflows/Colorize.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
"nodeInput": "checkpoint",
"type": "stringList",
"label": "checkpoint model",
"stringList": ["ddcolor_paper_tiny.pth", "ddcolor_paper.pth", "ddcolor_modelscope.pth", "ddcolor_artistic.pth"],
"stringList": [
"ddcolor_paper_tiny.pth",
"ddcolor_paper.pth",
"ddcolor_modelscope.pth",
"ddcolor_artistic.pth"
],
"defaultValue": "ddcolor_artistic.pth"
},
{
Expand Down
105 changes: 21 additions & 84 deletions WebUI/external/workflows/Video.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,8 @@
"comfyUiApiWorkflow": {
"8": {
"inputs": {
"samples": [
"36",
0
],
"vae": [
"102",
1
]
"samples": ["36", 0],
"vae": ["102", 1]
},
"class_type": "VAEDecode",
"_meta": {
Expand All @@ -85,26 +79,11 @@
},
"36": {
"inputs": {
"noise": [
"37",
0
],
"guider": [
"42",
0
],
"sampler": [
"14",
0
],
"sigmas": [
"104",
0
],
"latent_image": [
"103",
1
]
"noise": ["37", 0],
"guider": ["42", 0],
"sampler": ["14", 0],
"sigmas": ["104", 0],
"latent_image": ["103", 1]
},
"class_type": "SamplerCustomAdvanced",
"_meta": {
Expand All @@ -123,18 +102,9 @@
"42": {
"inputs": {
"cfg": 4,
"model": [
"103",
0
],
"positive": [
"87",
0
],
"negative": [
"88",
0
]
"model": ["103", 0],
"positive": ["87", 0],
"negative": ["88", 0]
},
"class_type": "CFGGuider",
"_meta": {
Expand All @@ -146,10 +116,7 @@
"scheduler": "normal",
"steps": 20,
"denoise": 1,
"model": [
"103",
0
]
"model": ["103", 0]
},
"class_type": "BasicScheduler",
"_meta": {
Expand All @@ -159,10 +126,7 @@
"87": {
"inputs": {
"text": "A cybernetic woman, with black hair and robotic parts...\nA cybernetic woman with black hair and robotic parts looks down and to her right, then back up; she has full lips, glowing electronics with white metallic body; the camera remains stationary on her face as she speaks; the background is out of focus, but shows a futurustic city and people moving; the scene is captured in real-life footage at night",
"clip": [
"109",
0
]
"clip": ["109", 0]
},
"class_type": "CLIPTextEncode",
"_meta": {
Expand All @@ -172,10 +136,7 @@
"88": {
"inputs": {
"text": "worst quality, inconsistent motion, blurry, jittery, distorted, watermarks",
"clip": [
"109",
0
]
"clip": ["109", 0]
},
"class_type": "CLIPTextEncode",
"_meta": {
Expand All @@ -198,21 +159,12 @@
"width": 384,
"height": 256,
"frames_number": 9,
"frame_rate": [
"116",
0
],
"frame_rate": ["116", 0],
"batch": 1,
"mixed_precision": true,
"img_compression": 29,
"model": [
"102",
0
],
"vae": [
"102",
1
]
"model": ["102", 0],
"vae": ["102", 1]
},
"class_type": "LTXVModelConfigurator",
"_meta": {
Expand All @@ -221,16 +173,10 @@
},
"104": {
"inputs": {
"sigma_shift": [
"103",
2
],
"sigma_shift": ["103", 2],
"stretch": true,
"terminal": 0.1,
"sigmas": [
"81",
0
]
"sigmas": ["81", 0]
},
"class_type": "LTXVShiftSigmas",
"_meta": {
Expand All @@ -239,10 +185,7 @@
},
"106": {
"inputs": {
"frame_rate": [
"115",
0
],
"frame_rate": ["115", 0],
"loop_count": 0,
"filename_prefix": "LTXVideo",
"format": "video/h264-mp4",
Expand All @@ -252,10 +195,7 @@
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"images": [
"8",
0
]
"images": ["8", 0]
},
"class_type": "VHS_VideoCombine",
"_meta": {
Expand Down Expand Up @@ -283,10 +223,7 @@
},
"116": {
"inputs": {
"a": [
"115",
0
]
"a": ["115", 0]
},
"class_type": "CM_FloatToInt",
"_meta": {
Expand Down
1 change: 0 additions & 1 deletion WebUI/src/assets/i18n/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,5 +252,4 @@
"SETTINGS_IMAGE_COMFY_CHECKPOINT_MODEL": "檢查點模型",
"SETTINGS_IMAGE_COMFY_FRAME_RATE": "幀率",
"SETTINGS_IMAGE_COMFY_TOTAL_FRAMES": "總幀數"

}
1 change: 0 additions & 1 deletion WebUI/src/components/ui/slider/ResolutionPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { SliderRange, SliderRoot, SliderThumb, SliderTrack } from 'radix-vue'
import { cn } from '@/lib/utils'
import { clsx } from 'clsx'
import { useImageGeneration } from '@/assets/js/store/imageGeneration'
import { getLifeCycleTarget } from '@vueuse/core'
const props = defineProps<SliderRootProps & { class?: string }>()
Expand Down

0 comments on commit 00e22d9

Please sign in to comment.