Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,8 @@ import io
|
|
| 4 |
from PIL import Image
|
| 5 |
from fastapi.responses import StreamingResponse
|
| 6 |
import os
|
|
|
|
|
|
|
| 7 |
|
| 8 |
# Initialize the FastAPI app
|
| 9 |
app = FastAPI()
|
|
|
|
| 4 |
from PIL import Image
|
| 5 |
from fastapi.responses import StreamingResponse
|
| 6 |
import os
|
| 7 |
+
from dotenv import load_dotenv
|
| 8 |
+
load_dotenv()
|
| 9 |
|
| 10 |
# Initialize the FastAPI app
|
| 11 |
app = FastAPI()
|