Spaces:
Sleeping
Sleeping
apple muncy
commited on
Commit
·
9ae03e0
1
Parent(s):
75f5b6d
take out port 7860
Browse filesSigned-off-by: apple muncy <apple@dell-deb-12-5.local>
- auth_server.py +2 -2
auth_server.py
CHANGED
|
@@ -36,7 +36,7 @@ class AuthServerSettings(BaseModel):
|
|
| 36 |
# Server settings
|
| 37 |
host: str = "applemuncy-as.hf.space"
|
| 38 |
port: int = 7860
|
| 39 |
-
server_url: AnyHttpUrl = AnyHttpUrl("https://applemuncy-as.hf.space
|
| 40 |
auth_callback_path: str = "https://applemuncy-as.hf.space:7860/login/callback"
|
| 41 |
|
| 42 |
|
|
@@ -174,7 +174,7 @@ def main(port: int) -> int:
|
|
| 174 |
|
| 175 |
# Create server settings
|
| 176 |
host = "applemuncy-as.hf.space"
|
| 177 |
-
server_url = f"https://{host}
|
| 178 |
server_settings = AuthServerSettings(
|
| 179 |
host=host,
|
| 180 |
port=port,
|
|
|
|
| 36 |
# Server settings
|
| 37 |
host: str = "applemuncy-as.hf.space"
|
| 38 |
port: int = 7860
|
| 39 |
+
server_url: AnyHttpUrl = AnyHttpUrl("https://applemuncy-as.hf.space")
|
| 40 |
auth_callback_path: str = "https://applemuncy-as.hf.space:7860/login/callback"
|
| 41 |
|
| 42 |
|
|
|
|
| 174 |
|
| 175 |
# Create server settings
|
| 176 |
host = "applemuncy-as.hf.space"
|
| 177 |
+
server_url = f"https://{host}" #:{port}"
|
| 178 |
server_settings = AuthServerSettings(
|
| 179 |
host=host,
|
| 180 |
port=port,
|