ChuxiJ commited on
Commit
748bd62
·
1 Parent(s): a7270bf

fix: random remove cfg

Browse files
Files changed (1) hide show
  1. acestep/api_server.py +0 -1
acestep/api_server.py CHANGED
@@ -534,7 +534,6 @@ def create_app() -> FastAPI:
534
  sample_metadata, sample_status = llm.understand_audio_from_codes(
535
  audio_codes="NO USER INPUT",
536
  temperature=req.lm_temperature,
537
- cfg_scale=max(1.0, req.lm_cfg_scale),
538
  negative_prompt=req.lm_negative_prompt,
539
  top_k=lm_top_k if lm_top_k > 0 else None,
540
  top_p=lm_top_p if lm_top_p < 1.0 else None,
 
534
  sample_metadata, sample_status = llm.understand_audio_from_codes(
535
  audio_codes="NO USER INPUT",
536
  temperature=req.lm_temperature,
 
537
  negative_prompt=req.lm_negative_prompt,
538
  top_k=lm_top_k if lm_top_k > 0 else None,
539
  top_p=lm_top_p if lm_top_p < 1.0 else None,