Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,9 +79,8 @@ def main():
|
|
| 79 |
gr.Markdown("### Enter your Pokémon Showdown username to receive a battle invitation:")
|
| 80 |
name_input = gr.Textbox(label="Your Pokémon Showdown Username", placeholder="Enter the username you're using on Showdown")
|
| 81 |
battle_button = gr.Button("Send Battle Invitation")
|
| 82 |
-
result_text = gr.Textbox(label="Result", interactive=False)
|
| 83 |
|
| 84 |
-
battle_button.click(fn=invite_to_battle, inputs=name_input
|
| 85 |
|
| 86 |
gr.Markdown("### Pokémon Showdown Interface")
|
| 87 |
gr.Markdown("Log in to Pokémon Showdown in the interface below, using the same username you entered above.")
|
|
|
|
| 79 |
gr.Markdown("### Enter your Pokémon Showdown username to receive a battle invitation:")
|
| 80 |
name_input = gr.Textbox(label="Your Pokémon Showdown Username", placeholder="Enter the username you're using on Showdown")
|
| 81 |
battle_button = gr.Button("Send Battle Invitation")
|
|
|
|
| 82 |
|
| 83 |
+
battle_button.click(fn=invite_to_battle, inputs=name_input)
|
| 84 |
|
| 85 |
gr.Markdown("### Pokémon Showdown Interface")
|
| 86 |
gr.Markdown("Log in to Pokémon Showdown in the interface below, using the same username you entered above.")
|