valentin urena commited on
Commit
501eb80
·
verified ·
1 Parent(s): 2927381

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -4
app.py CHANGED
@@ -33,11 +33,24 @@ DEFAULT_MAX_NEW_TOKENS = 128
33
  # tokenizer = model.preprocessor.tokenizer
34
 
35
  DESCRIPTION = """
36
- # Gemma 2B
37
- **Welcome to the Gemma Chess Chatbot!**
38
 
39
- This game mode allows you to play a game against Gemma, the input must be in algebraic notation. \n
40
- If you need help learning algebraic notation ask Gemma!
 
 
 
 
 
 
 
 
 
 
 
 
 
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")