Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -6,7 +6,7 @@ from fastapi.responses import JSONResponse
|
|
6 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
7 |
from PyPDF2 import PdfReader
|
8 |
from fastapi import Depends
|
9 |
-
|
10 |
|
11 |
import random
|
12 |
import string
|
|
|
6 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
7 |
from PyPDF2 import PdfReader
|
8 |
from fastapi import Depends
|
9 |
+
#在FastAPI中,Depends()函数用于声明依赖项
|
10 |
|
11 |
import random
|
12 |
import string
|