Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
from fastapi import FastAPI, HTTPException
|
2 |
from pydantic import BaseModel
|
3 |
import hrequests
|
|
|
4 |
|
5 |
app = FastAPI()
|
6 |
|
|
|
1 |
from fastapi import FastAPI, HTTPException
|
2 |
from pydantic import BaseModel
|
3 |
import hrequests
|
4 |
+
from fastapi.middleware.cors import CORSMiddleware
|
5 |
|
6 |
app = FastAPI()
|
7 |
|