Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -3,7 +3,7 @@ from fastapi.middleware.cors import CORSMiddleware
|
|
3 |
from fastapi.responses import StreamingResponse
|
4 |
from pydantic import BaseModel
|
5 |
import openai
|
6 |
-
from typing import List, Optional
|
7 |
import logging
|
8 |
from itertools import cycle
|
9 |
import asyncio
|
|
|
3 |
from fastapi.responses import StreamingResponse
|
4 |
from pydantic import BaseModel
|
5 |
import openai
|
6 |
+
from typing import List, Optional,Union
|
7 |
import logging
|
8 |
from itertools import cycle
|
9 |
import asyncio
|