Spaces:
Runtime error
Runtime error
ElLokoAkrata
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -15,14 +15,16 @@ elo_scores = {
|
|
15 |
"Flux": 1000,
|
16 |
}
|
17 |
|
|
|
18 |
# Cargar im谩genes predefinidas
|
19 |
def load_images():
|
20 |
# Aseg煤rate de que los archivos de im谩genes coincidan con estos nombres
|
21 |
-
dalle3_image = Image.open("
|
22 |
-
midjourney_image = Image.open("
|
23 |
-
flux_image = Image.open("
|
24 |
return dalle3_image, midjourney_image, flux_image
|
25 |
|
|
|
26 |
# Actualizar el puntaje Elo basado en la votaci贸n
|
27 |
def update_elo(first, second, third):
|
28 |
global elo_scores
|
|
|
15 |
"Flux": 1000,
|
16 |
}
|
17 |
|
18 |
+
|
19 |
# Cargar im谩genes predefinidas
|
20 |
def load_images():
|
21 |
# Aseg煤rate de que los archivos de im谩genes coincidan con estos nombres
|
22 |
+
dalle3_image = Image.open("dalle3_image.png")
|
23 |
+
midjourney_image = Image.open("midjourney_image.png")
|
24 |
+
flux_image = Image.open("flux_image.png")
|
25 |
return dalle3_image, midjourney_image, flux_image
|
26 |
|
27 |
+
|
28 |
# Actualizar el puntaje Elo basado en la votaci贸n
|
29 |
def update_elo(first, second, third):
|
30 |
global elo_scores
|