Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,7 +115,7 @@ logger = logging.getLogger(__name__) # Use __name__ to get the root logger
|
|
| 115 |
|
| 116 |
app = FastAPI()
|
| 117 |
|
| 118 |
-
CORS middleware setup
|
| 119 |
app.add_middleware(
|
| 120 |
CORSMiddleware,
|
| 121 |
allow_origins=["*"], # Specify domains or use ["*"] for open access
|
|
|
|
| 115 |
|
| 116 |
app = FastAPI()
|
| 117 |
|
| 118 |
+
# CORS middleware setup
|
| 119 |
app.add_middleware(
|
| 120 |
CORSMiddleware,
|
| 121 |
allow_origins=["*"], # Specify domains or use ["*"] for open access
|