mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
Hotfix.
This commit is contained in:
parent
94d243b3d7
commit
eb47e042e2
@ -936,6 +936,7 @@ pub async fn run(
|
||||
// Define base and health routes
|
||||
let base_routes = Router::new()
|
||||
.route("/", post(compat_generate))
|
||||
.route("/", get(health))
|
||||
.route("/info", get(get_model_info))
|
||||
.route("/generate", post(generate))
|
||||
.route("/generate_stream", post(generate_stream))
|
||||
|
Loading…
Reference in New Issue
Block a user