Spaces:
Sleeping
Sleeping
TripleKdev
commited on
Commit
·
b0b5cad
1
Parent(s):
15eaf83
add model
Browse files- app.py +3 -3
- input.jpg +0 -0
- model_vgg16.pth +3 -0
app.py
CHANGED
@@ -30,10 +30,10 @@ app = FastAPI()
|
|
30 |
|
31 |
app.add_middleware(
|
32 |
CORSMiddleware,
|
33 |
-
allow_origins=["*"],
|
34 |
allow_credentials=True,
|
35 |
-
allow_methods=["*"],
|
36 |
-
allow_headers=["*"],
|
37 |
)
|
38 |
|
39 |
def background2white(image) :
|
|
|
30 |
|
31 |
app.add_middleware(
|
32 |
CORSMiddleware,
|
33 |
+
allow_origins=["*"],
|
34 |
allow_credentials=True,
|
35 |
+
allow_methods=["*"],
|
36 |
+
allow_headers=["*"],
|
37 |
)
|
38 |
|
39 |
def background2white(image) :
|
input.jpg
ADDED
![]() |
model_vgg16.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70a0f0599bb024c676b7290a929f5b2158861ad3cf5eb814c12da318e1bf2272
|
3 |
+
size 537086662
|