Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
|
@@ -28,6 +28,7 @@ from contextlib import asynccontextmanager
|
|
| 28 |
from fastapi import FastAPI, HTTPException, Security, Depends, Request, Response
|
| 29 |
from fastapi.middleware.cors import CORSMiddleware
|
| 30 |
from fastapi.responses import JSONResponse
|
|
|
|
| 31 |
from pydantic import BaseModel, Field
|
| 32 |
|
| 33 |
# Hugging Face
|
|
|
|
| 28 |
from fastapi import FastAPI, HTTPException, Security, Depends, Request, Response
|
| 29 |
from fastapi.middleware.cors import CORSMiddleware
|
| 30 |
from fastapi.responses import JSONResponse
|
| 31 |
+
from fastapi.security import APIKeyHeader
|
| 32 |
from pydantic import BaseModel, Field
|
| 33 |
|
| 34 |
# Hugging Face
|