Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -3,7 +3,7 @@ from pydantic import BaseModel
|
|
3 |
from motor.motor_asyncio import AsyncIOMotorClient
|
4 |
from typing import List, Optional
|
5 |
from fastapi.middleware.cors import CORSMiddleware
|
6 |
-
|
7 |
# MongoDB connection URI
|
8 |
MONGO_URI = os.getenv("MONGO_URI") #""
|
9 |
|
|
|
3 |
from motor.motor_asyncio import AsyncIOMotorClient
|
4 |
from typing import List, Optional
|
5 |
from fastapi.middleware.cors import CORSMiddleware
|
6 |
+
import os
|
7 |
# MongoDB connection URI
|
8 |
MONGO_URI = os.getenv("MONGO_URI") #""
|
9 |
|