EPark25 commited on
Commit
1729e8b
1 Parent(s): 6ba818f

Add placeholders

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -58,8 +58,15 @@ with gr.Blocks() as demo:
58
  return image
59
 
60
  chatbot = gr.Chatbot(type="messages")
61
- msg = gr.Textbox(submit_btn=True, label="Chat", show_label=True)
62
- chess_moves = gr.Textbox(submit_btn=True, label="Chess", show_label=True)
 
 
 
 
 
 
 
63
  chess_board = gr.Image(display_board(chess.Board()))
64
 
65
  clear = gr.Button("Clear")
 
58
  return image
59
 
60
  chatbot = gr.Chatbot(type="messages")
61
+ msg = gr.Textbox(
62
+ submit_btn=True, label="Chat", show_label=True, placeholder="Who are you?"
63
+ )
64
+ chess_moves = gr.Textbox(
65
+ submit_btn=True,
66
+ label="Chess",
67
+ show_label=True,
68
+ placeholder="1. e4 c5 2. Nf3 e6 3. d4 d5 4. exd5 exd5 5. Ne5 a6 6. Qh5 Nf6 7. Qxf7# 1-0",
69
+ )
70
  chess_board = gr.Image(display_board(chess.Board()))
71
 
72
  clear = gr.Button("Clear")