Spaces:
Running
Running
Update api.py
Browse files
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://
|
| 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=["*"],
|