Spaces:
Running
Running
abhijitkumarjha88192
commited on
Commit
•
305e0b4
1
Parent(s):
f2a9b5f
updated more domains
Browse files- testpkg/finit.py +5 -3
testpkg/finit.py
CHANGED
@@ -15,9 +15,11 @@ from fastapi.middleware.cors import CORSMiddleware
|
|
15 |
|
16 |
origins = [
|
17 |
"https://huggingface.co",
|
18 |
-
"https://huggingface.co/spaces/abhijitkumarjha88192/test-space"
|
19 |
-
|
20 |
-
|
|
|
|
|
21 |
]
|
22 |
|
23 |
app.add_middleware(
|
|
|
15 |
|
16 |
origins = [
|
17 |
"https://huggingface.co",
|
18 |
+
"https://huggingface.co/spaces/abhijitkumarjha88192/test-space",
|
19 |
+
"https://abhijitkumarjha88192-test-space.static.hf.space",
|
20 |
+
"http://localhost",
|
21 |
+
"http://localhost:8080",
|
22 |
+
"*"
|
23 |
]
|
24 |
|
25 |
app.add_middleware(
|