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