mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 17:29:22 +01:00
corrected too many lines
This commit is contained in:
parent
6f0f214408
commit
8d44d78db5
@ -130,7 +130,6 @@ async def openai_chat_completions(request: Request, request_data: ChatCompletion
|
|||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
return HTTPException(status_code=400, detail="Failed to load the model.")
|
return HTTPException(status_code=400, detail="Failed to load the model.")
|
||||||
|
|
||||||
|
|
||||||
path = request.url.path
|
path = request.url.path
|
||||||
is_legacy = "/generate" in path
|
is_legacy = "/generate" in path
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user