Update main.py
Browse files
main.py
CHANGED
@@ -48,7 +48,7 @@ from fastapi.middleware.cors import CORSMiddleware
|
|
48 |
|
49 |
app.add_middleware(
|
50 |
CORSMiddleware,
|
51 |
-
allow_origins=["https://
|
52 |
allow_credentials=True,
|
53 |
allow_methods=["*"],
|
54 |
allow_headers=["*"],
|
|
|
48 |
|
49 |
app.add_middleware(
|
50 |
CORSMiddleware,
|
51 |
+
allow_origins=["https://artixiban-ll3.static.hf.space"], # Adjust as needed, '*' allows requests from any origin
|
52 |
allow_credentials=True,
|
53 |
allow_methods=["*"],
|
54 |
allow_headers=["*"],
|