Astridkraft commited on
Commit
cb22a04
·
verified ·
1 Parent(s): e223ef3

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -13,7 +13,7 @@ app = FastAPI(title="Upscaler API", version="2.0")
13
  # Ersetze 'YOUR-UI-SPACE-URL' mit der URL deines UI-Spaces (z.B. 'https://your-username-upscaler-ui.hf.space')
14
  app.add_middleware(
15
  CORSMiddleware,
16
- allow_origins=["https://huggingface.co/spaces/Astridkraft/upscaling-ui"],
17
  allow_credentials=True,
18
  allow_methods=["POST"],
19
  allow_headers=["*"],
 
13
  # Ersetze 'YOUR-UI-SPACE-URL' mit der URL deines UI-Spaces (z.B. 'https://your-username-upscaler-ui.hf.space')
14
  app.add_middleware(
15
  CORSMiddleware,
16
+ allow_origins=["https://astridkraft-upscaling-ui.hf.space"],
17
  allow_credentials=True,
18
  allow_methods=["POST"],
19
  allow_headers=["*"],