panditamey commited on
Commit
bc6ddf7
1 Parent(s): 3ca2f4a

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +2 -0
api.py CHANGED
@@ -1,4 +1,6 @@
1
  from fastapi import FastAPI,UploadFile,File
 
 
2
  from pydantic import BaseModel
3
  import pickle
4
  import json
 
1
  from fastapi import FastAPI,UploadFile,File
2
+ from fastapi.middleware.cors import CORSMiddleware
3
+
4
  from pydantic import BaseModel
5
  import pickle
6
  import json