Spaces:
Sleeping
Sleeping
fixe
Browse files
app.py
CHANGED
@@ -13,6 +13,11 @@ DATABASE_URL = "mysql+mysqlconnector://basa6167_kity_cara:4P&l-5yH1Ql8@localhost
|
|
13 |
engine = create_engine(DATABASE_URL)
|
14 |
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
|
15 |
Base = declarative_base()
|
|
|
|
|
|
|
|
|
|
|
16 |
app.add_middleware(
|
17 |
CORSMiddleware,
|
18 |
allow_origins=["*"],
|
|
|
13 |
engine = create_engine(DATABASE_URL)
|
14 |
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
|
15 |
Base = declarative_base()
|
16 |
+
|
17 |
+
app =FastAPI(
|
18 |
+
title='Text Summary',
|
19 |
+
description =Informations
|
20 |
+
)
|
21 |
app.add_middleware(
|
22 |
CORSMiddleware,
|
23 |
allow_origins=["*"],
|