Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -7,6 +7,13 @@ from langchain.text_splitter import RecursiveCharacterTextSplitter
|
|
7 |
from PyPDF2 import PdfReader
|
8 |
from fastapi import Depends
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
def generate_random_string(length):
|
11 |
letters = string.ascii_lowercase
|
12 |
return ''.join(random.choice(letters) for i in range(length))
|
|
|
7 |
from PyPDF2 import PdfReader
|
8 |
from fastapi import Depends
|
9 |
|
10 |
+
import random
|
11 |
+
import string
|
12 |
+
import sys
|
13 |
+
import timeit
|
14 |
+
import datetime
|
15 |
+
import io
|
16 |
+
|
17 |
def generate_random_string(length):
|
18 |
letters = string.ascii_lowercase
|
19 |
return ''.join(random.choice(letters) for i in range(length))
|