Spaces:
Running
Running
Tu Nombre commited on
Commit ·
8b8eebb
1
Parent(s): f364107
fix url usuario
Browse files
main.py
CHANGED
|
@@ -170,7 +170,7 @@ CMD [\"uvicorn\", \"main:app\", \"--host\", \"0.0.0.0\", \"--port\", \"7860\"]""
|
|
| 170 |
)
|
| 171 |
|
| 172 |
hf_user_space = f"{hf_user_actual}/{space_id}".replace("/", "-").lower()
|
| 173 |
-
url = f"https://{
|
| 174 |
CLIENTES[email] = {"nicho": nicho, "url": url, "repo": repo_name}
|
| 175 |
guardar_clientes()
|
| 176 |
enviar_email(email, nicho, url)
|
|
|
|
| 170 |
)
|
| 171 |
|
| 172 |
hf_user_space = f"{hf_user_actual}/{space_id}".replace("/", "-").lower()
|
| 173 |
+
url = f"https://{hf_user_actual.lower()}-{space_id.lower()}.hf.space"
|
| 174 |
CLIENTES[email] = {"nicho": nicho, "url": url, "repo": repo_name}
|
| 175 |
guardar_clientes()
|
| 176 |
enviar_email(email, nicho, url)
|