Spaces:
Sleeping
Sleeping
loading sqlalchemy
Browse files
app.py
CHANGED
|
@@ -15,6 +15,20 @@ from langdetect import DetectorFactory
|
|
| 15 |
DetectorFactory.seed = 0
|
| 16 |
from deep_translator import GoogleTranslator
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
# Load index
|
| 19 |
from llama_index.core import VectorStoreIndex
|
| 20 |
from llama_index.core import StorageContext
|
|
|
|
| 15 |
DetectorFactory.seed = 0
|
| 16 |
from deep_translator import GoogleTranslator
|
| 17 |
|
| 18 |
+
from sqlalchemy import (
|
| 19 |
+
create_engine,
|
| 20 |
+
MetaData,
|
| 21 |
+
Table,
|
| 22 |
+
Column,
|
| 23 |
+
String,
|
| 24 |
+
Integer,
|
| 25 |
+
Date,
|
| 26 |
+
select,
|
| 27 |
+
column,
|
| 28 |
+
insert,
|
| 29 |
+
text
|
| 30 |
+
)
|
| 31 |
+
|
| 32 |
# Load index
|
| 33 |
from llama_index.core import VectorStoreIndex
|
| 34 |
from llama_index.core import StorageContext
|