Spaces:
Running
Running
Update fluxai.py
Browse files
fluxai.py
CHANGED
@@ -3,6 +3,7 @@ from fastapi.responses import StreamingResponse
|
|
3 |
from PIL import Image, ImageEnhance
|
4 |
from fastapi import HTTPException
|
5 |
import io
|
|
|
6 |
import requests
|
7 |
import os
|
8 |
import base64
|
|
|
3 |
from PIL import Image, ImageEnhance
|
4 |
from fastapi import HTTPException
|
5 |
import io
|
6 |
+
from io import BytesIO
|
7 |
import requests
|
8 |
import os
|
9 |
import base64
|