Add subtify logo
Browse files
app.py
CHANGED
|
@@ -38,13 +38,11 @@ YOUTUBE = "youtube"
|
|
| 38 |
TWITCH = "twitch"
|
| 39 |
ERROR = "error"
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
# new_width = subtify_logo_width // factor
|
| 47 |
-
# new_height = subtify_logo_height // factor
|
| 48 |
# except Exception as e:
|
| 49 |
# print(f"No se pudo cargar la imagen: {e}")
|
| 50 |
# # Valores predeterminados en caso de error
|
|
|
|
| 38 |
TWITCH = "twitch"
|
| 39 |
ERROR = "error"
|
| 40 |
|
| 41 |
+
subtify_logo = Image.open("assets/subtify_logo-scaled.webp")
|
| 42 |
+
subtify_logo_width, subtify_logo_height = subtify_logo.size
|
| 43 |
+
factor = 4
|
| 44 |
+
new_width = subtify_logo_width // factor
|
| 45 |
+
new_height = subtify_logo_height // factor
|
|
|
|
|
|
|
| 46 |
# except Exception as e:
|
| 47 |
# print(f"No se pudo cargar la imagen: {e}")
|
| 48 |
# # Valores predeterminados en caso de error
|