mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-01 11:53:24 +08:00
fix #1737: MakeFastAPIOffline函数内代码编写错误
This commit is contained in:
parent
01577d6264
commit
1ac173958d
@ -194,7 +194,7 @@ def MakeFastAPIOffline(
|
||||
index = i
|
||||
break
|
||||
if isinstance(index, int):
|
||||
app.routes.pop(i)
|
||||
app.routes.pop(index)
|
||||
|
||||
# Set up static file mount
|
||||
app.mount(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user