Spaces:
Sleeping
Sleeping
victor
commited on
Commit
·
272fbdc
1
Parent(s):
2ce38cd
testing dict
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from fastai.vision.all import *
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Define the list of 1st generation Pokémon class names
|
5 |
-
class_names = [
|
6 |
"Bulbasaur", "Ivysaur", "Venusaur",
|
7 |
"Charmander", "Charmeleon", "Charizard",
|
8 |
"Squirtle", "Wartortle", "Blastoise",
|
@@ -32,7 +32,7 @@ class_names = [
|
|
32 |
"Porygon", "Omanyte", "Omastar",
|
33 |
"Kabuto", "Kabutops", "Aerodactyl",
|
34 |
"Mew", "Mewtwo"
|
35 |
-
]
|
36 |
|
37 |
def get_x(item):
|
38 |
return item['image'] # Access images directly
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Define the list of 1st generation Pokémon class names
|
5 |
+
"""class_names = [
|
6 |
"Bulbasaur", "Ivysaur", "Venusaur",
|
7 |
"Charmander", "Charmeleon", "Charizard",
|
8 |
"Squirtle", "Wartortle", "Blastoise",
|
|
|
32 |
"Porygon", "Omanyte", "Omastar",
|
33 |
"Kabuto", "Kabutops", "Aerodactyl",
|
34 |
"Mew", "Mewtwo"
|
35 |
+
]"""
|
36 |
|
37 |
def get_x(item):
|
38 |
return item['image'] # Access images directly
|