Spaces:
Running
Running
update
Browse files
main.py
CHANGED
@@ -7,7 +7,7 @@ import tiktoken
|
|
7 |
from uuid import uuid4
|
8 |
from functools import lru_cache
|
9 |
from typing import Optional, List, Dict, Literal
|
10 |
-
from fastapi import FastAPI, HTTPException, Depends, Security, BackgroundTasks
|
11 |
from fastapi.security import APIKeyHeader
|
12 |
from fastapi.responses import StreamingResponse
|
13 |
from pydantic import BaseModel, Field
|
|
|
7 |
from uuid import uuid4
|
8 |
from functools import lru_cache
|
9 |
from typing import Optional, List, Dict, Literal
|
10 |
+
from fastapi import FastAPI, HTTPException, Depends, Security, BackgroundTasks, Query
|
11 |
from fastapi.security import APIKeyHeader
|
12 |
from fastapi.responses import StreamingResponse
|
13 |
from pydantic import BaseModel, Field
|