Deploy deathmatch from 48bbe11
Browse files- app.py +2 -3
- examples/README.md +1 -2
app.py
CHANGED
|
@@ -379,11 +379,10 @@ with gr.Blocks(title="Celebrity Deathmatch") as demo:
|
|
| 379 |
|
| 380 |
# (slug_a, name_a, slug_b, name_b, arena)
|
| 381 |
EXAMPLE_MATCHUPS = [
|
|
|
|
|
|
|
| 382 |
("britney", "Britney Spears", "eminem", "Eminem", "Classic Deathmatch ring"),
|
| 383 |
-
("musk", "Elon Musk", "zuckerberg", "Mark Zuckerberg", "Neon Tokyo street"),
|
| 384 |
("keanu", "Keanu Reeves", "scarlett", "Scarlett Johansson", "Rooftop at night"),
|
| 385 |
-
# Open-source vs closed AI — a wink for the Hugging Face judges.
|
| 386 |
-
("clem", "Clem Delangue", "altman", "Sam Altman", "Volcano lair"),
|
| 387 |
]
|
| 388 |
_examples = []
|
| 389 |
for a_slug, a_name, b_slug, b_name, ex_arena in EXAMPLE_MATCHUPS:
|
|
|
|
| 379 |
|
| 380 |
# (slug_a, name_a, slug_b, name_b, arena)
|
| 381 |
EXAMPLE_MATCHUPS = [
|
| 382 |
+
# Open-source vs closed AI — a wink for the Hugging Face judges (lead bout).
|
| 383 |
+
("clem", "Clem Delangue", "altman", "Sam Altman", "Volcano lair"),
|
| 384 |
("britney", "Britney Spears", "eminem", "Eminem", "Classic Deathmatch ring"),
|
|
|
|
| 385 |
("keanu", "Keanu Reeves", "scarlett", "Scarlett Johansson", "Rooftop at night"),
|
|
|
|
|
|
|
| 386 |
]
|
| 387 |
_examples = []
|
| 388 |
for a_slug, a_name, b_slug, b_name, ex_arena in EXAMPLE_MATCHUPS:
|
examples/README.md
CHANGED
|
@@ -10,10 +10,9 @@ Any of `.jpg` / `.jpeg` / `.png` / `.webp`:
|
|
| 10 |
|
| 11 |
| Matchup | Fighter A file | Fighter B file |
|
| 12 |
|---|---|---|
|
|
|
|
| 13 |
| Britney vs. Eminem | `britney.jpg` | `eminem.jpg` |
|
| 14 |
-
| Elon Musk vs. Mark Zuckerberg | `musk.jpg` | `zuckerberg.jpg` |
|
| 15 |
| Keanu Reeves vs. Scarlett Johansson | `keanu.jpg` | `scarlett.jpg` |
|
| 16 |
-
| Clem Delangue vs. Sam Altman | `clem.jpg` | `altman.jpg` |
|
| 17 |
|
| 18 |
(The display names + arena are pre-filled by the app — see `EXAMPLE_MATCHUPS`
|
| 19 |
in `ui/app.py`. To add a new matchup, add a row there and drop in two photos.)
|
|
|
|
| 10 |
|
| 11 |
| Matchup | Fighter A file | Fighter B file |
|
| 12 |
|---|---|---|
|
| 13 |
+
| Clem Delangue vs. Sam Altman | `clem.jpg` | `altman.jpg` |
|
| 14 |
| Britney vs. Eminem | `britney.jpg` | `eminem.jpg` |
|
|
|
|
| 15 |
| Keanu Reeves vs. Scarlett Johansson | `keanu.jpg` | `scarlett.jpg` |
|
|
|
|
| 16 |
|
| 17 |
(The display names + arena are pre-filled by the app — see `EXAMPLE_MATCHUPS`
|
| 18 |
in `ui/app.py`. To add a new matchup, add a row there and drop in two photos.)
|