Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def validate_input(fen):
|
|
| 59 |
|
| 60 |
mcp = gr.Interface(
|
| 61 |
fn=position_evaluation,
|
| 62 |
-
inputs = [gr.Textbox(label = "Forsyth-Edwards Notation (FEN)", value = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
|
| 63 |
outputs = [gr.Textbox(label = "Evaluation", interactive = False)],
|
| 64 |
title="Stockfish Chess Engine",
|
| 65 |
description="Chess position evaluation by top open source chess engine"
|
|
|
|
| 59 |
|
| 60 |
mcp = gr.Interface(
|
| 61 |
fn=position_evaluation,
|
| 62 |
+
inputs = [gr.Textbox(label = "Forsyth-Edwards Notation (FEN)", value = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1", max_length = 75)],
|
| 63 |
outputs = [gr.Textbox(label = "Evaluation", interactive = False)],
|
| 64 |
title="Stockfish Chess Engine",
|
| 65 |
description="Chess position evaluation by top open source chess engine"
|