mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
delete newlines
This commit is contained in:
parent
3a1482720f
commit
30ce9e0426
@ -295,9 +295,6 @@ async fn main() -> Result<(), RouterError> {
|
||||
)
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
let config: Option<Config> = config_filename.and_then(|filename| {
|
||||
std::fs::read_to_string(filename)
|
||||
.ok()
|
||||
@ -355,7 +352,6 @@ async fn main() -> Result<(), RouterError> {
|
||||
tracing::warn!("Rust input length validation and truncation is disabled");
|
||||
}
|
||||
|
||||
|
||||
// if pipeline-tag == text-generation we default to return_full_text = true
|
||||
let compat_return_full_text = match &model_info.pipeline_tag {
|
||||
None => {
|
||||
|
Loading…
Reference in New Issue
Block a user