Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -7,6 +7,8 @@ from typing import Union
|
|
7 |
|
8 |
from sahi.utils.cv import read_image_as_pil
|
9 |
from fastapi import FastAPI, File, UploadFile
|
|
|
|
|
10 |
from utils import tts, read_image_file, pil_to_base64, get_hist
|
11 |
from typing import Optional
|
12 |
from huggingface_hub import hf_hub_download
|
|
|
7 |
|
8 |
from sahi.utils.cv import read_image_as_pil
|
9 |
from fastapi import FastAPI, File, UploadFile
|
10 |
+
from fastapi.responses import StreamingResponse
|
11 |
+
|
12 |
from utils import tts, read_image_file, pil_to_base64, get_hist
|
13 |
from typing import Optional
|
14 |
from huggingface_hub import hf_hub_download
|