Commit c895ae2 Chris Kennedy
committed
1 parent cec79b1 commit c895ae2 Copy full SHA for c895ae2
File tree 4 files changed +9
-7
lines changed
4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
# ./webui.sh --api --api-log --nowebui --port 7860 --skip-torch-cuda-test --no-half --use-cpu all
6
6
# ./webui.sh --api --api-log --listen --port 7860 --skip-torch-cuda-test --no-half --use-cpu all
7
- ./webui.sh --api --api-log --listen --port 7860 --skip-torch-cuda-test --no-half --use-cpu all
7
+ # ./webui.sh --api --api-log --listen --port 7860 --skip-torch-cuda-test --no-half --use-cpu all
8
+ ./webui.sh --api --api-log --listen --port 7860 --skip-torch-cuda-test --no-half
Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ pub struct Args {
484
484
#[ clap(
485
485
long,
486
486
env = "BREAK_LINE_LENGTH" ,
487
- default_value_t = 120 ,
487
+ default_value_t = 300 ,
488
488
help = "Break Line Length - line length for breaking lines from LLM messages."
489
489
) ]
490
490
pub break_line_length : usize ,
@@ -511,7 +511,7 @@ pub struct Args {
511
511
#[ clap(
512
512
long,
513
513
env = "SD_MAX_LENGTH" ,
514
- default_value_t = 70 ,
514
+ default_value_t = 200 ,
515
515
help = "SD Max Length in tokens for SD Image hardsub text segments. example: 77 tokens is avg 77 * 4 == 308 chars."
516
516
) ]
517
517
pub sd_max_length : usize ,
@@ -520,7 +520,7 @@ pub struct Args {
520
520
#[ clap(
521
521
long,
522
522
env = "SD_PARAGRAPH_MIN" ,
523
- default_value_t = 30 ,
523
+ default_value_t = 60 ,
524
524
help = "SD Min Length for text segments generating Images. Will force past this value before segmenting text."
525
525
) ]
526
526
pub sd_text_min : usize ,
@@ -685,7 +685,7 @@ pub struct Args {
685
685
#[ clap(
686
686
long,
687
687
env = "SUBTITLE_POSITION" ,
688
- default_value = "bottom " ,
688
+ default_value = "center " ,
689
689
help = "Subtitle position."
690
690
) ]
691
691
pub subtitle_position : String ,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ pub fn send_images_over_ndi(
58
58
subtitle_height = height as i32 - ( height as i32 / 5 ) ;
59
59
} else {
60
60
log:: error!(
61
- "Invalid subtitle position '{}', using default position bottome as value {} instead." ,
61
+ "Invalid subtitle position '{}', using default position bottom as value {} instead." ,
62
62
subtitle_position,
63
63
subtitle_height
64
64
) ;
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ pub async fn sd_auto(
39
39
} ;
40
40
41
41
let response = client
42
- . post ( "http://127.0.0.1:7860/sdapi/v1/txt2img" )
42
+ . post ( "http://earth:7860/sdapi/v1/txt2img" )
43
+ //.post("http://127.0.0.1:7860/sdapi/v1/txt2img")
43
44
. json ( & payload)
44
45
. send ( )
45
46
. await ?;
You can’t perform that action at this time.
0 commit comments