Spaces:
Sleeping
Sleeping
valentin urena
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -33,11 +33,24 @@ DEFAULT_MAX_NEW_TOKENS = 128
|
|
33 |
# tokenizer = model.preprocessor.tokenizer
|
34 |
|
35 |
DESCRIPTION = """
|
36 |
-
#
|
37 |
-
**Welcome to the
|
38 |
|
39 |
-
This
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
"""
|
42 |
|
43 |
api_key = os.getenv("GEMINI_API_KEY")
|
|
|
33 |
# tokenizer = model.preprocessor.tokenizer
|
34 |
|
35 |
DESCRIPTION = """
|
36 |
+
# Chess Tutor AI
|
37 |
+
**Welcome to the Chess Chatbot!**
|
38 |
|
39 |
+
The goal of this project is to showcase the use of AI in learning chess. This app allows you to play a game against a custom fine-tuned model (Gemma 2B). The challenge is that input must be in *algebraic notation*.
|
40 |
+
|
41 |
+
## Features
|
42 |
+
|
43 |
+
### For New & Beginner Players
|
44 |
+
- The chat interface uses the Gemini API, if you need help with chess rules or learning algebraic notation, just ask!
|
45 |
+
|
46 |
+
### For Advanced Users
|
47 |
+
- Pick an opening to play, and ask Gemini for more info.
|
48 |
+
|
49 |
+
|
50 |
+
<br>
|
51 |
+
|
52 |
+
Enjoy your game!
|
53 |
+
**- Valentin**
|
54 |
"""
|
55 |
|
56 |
api_key = os.getenv("GEMINI_API_KEY")
|