File size: 1,528 Bytes
1ea2ec0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import wahtever
import gradio as gr
from gradio.components import Textbox
def chungu(iasoipa):
    if iasoipa!='': print(iasoipa)
    return wahtever.isisisisis(iasoipa)
demo = gr.Interface(
    chungu,
    [
Textbox(label="enter pokemons name (it uses fuzzy search)"),
    ],
    [
        Textbox(label="can it evolve????"),
    ],
    live=True,
    title='Can this Pokemon evolve?',
    description="This shows you if a Pokemon can evolve and how. Unlike using Wiki, this doesn't spoil what it evolves into and at what level.\nI also used real time fuzzy search so that you don't have to enter exact name of a Pokemon.",
    article="""NOTE I used a hole Bunch of data from https://pokemondb.net/evolution/level.

Most pokemon evolve upon reaching a certain level. A few Pokémon also need to meet a condition such as gender to evolve; these are also listed.

To evolve a Pokémon via stone, simply select the item to use in your bag, then select the Pokémon to apply it to - they will evolve straight away.

A Pokémon's Friendship (aka happiness) can be increased in many ways. The simplest is walking around with the Pokémon in your party, battling and growing them, but not letting them faint. Massages and haircuts increase Friendship by a larger amount. Giving them a Soothe Bell to hold increases the effect of the other methods. See more in the glossary or this PokéBase question.

For special conditions, Once the condition is met, the Pokémon needs to level up once more in order to evolve."""
)

demo.launch()