marcelbinz commited on
Commit
242ed7b
·
verified ·
1 Parent(s): 48f96e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -38,7 +38,7 @@ The Player and the Opponent win points based on their choices.
38
  The rules change between games, and you will be informed about them before each game.
39
  The Player varies between blocks but is consistent across games within a block.
40
  The Opponent switches in each game.
41
- Your task is to predict the choices made by the Player and rate your confidence in this prediction on an 11-point scale from 0 to 100 (in increments of 10).
42
  You get feedback after each game on whether your prediction was correct or not.
43
 
44
  Block 1 starts now.
@@ -54,7 +54,7 @@ You predict that Player will choose option <<
54
  with gr.Blocks(
55
  fill_width=True,
56
  css="""
57
- #prompt-box textarea {height:200px}
58
  #answer-box textarea {height:320px}
59
  #info-box {margin-bottom: 1rem} /* a little spacing */
60
  """
@@ -86,7 +86,7 @@ with gr.Blocks(
86
  with gr.Row(equal_height=True):
87
  inp = gr.Textbox(
88
  label="Prompt", elem_id="prompt-box",
89
- lines=12, max_lines=12, scale=3, value=default_experiment
90
  )
91
  outp = gr.Textbox(
92
  label="Response", elem_id="answer-box",
 
38
  The rules change between games, and you will be informed about them before each game.
39
  The Player varies between blocks but is consistent across games within a block.
40
  The Opponent switches in each game.
41
+ Your task is to predict the choices made by the Player.
42
  You get feedback after each game on whether your prediction was correct or not.
43
 
44
  Block 1 starts now.
 
54
  with gr.Blocks(
55
  fill_width=True,
56
  css="""
57
+ #prompt-box textarea {height:320px}
58
  #answer-box textarea {height:320px}
59
  #info-box {margin-bottom: 1rem} /* a little spacing */
60
  """
 
86
  with gr.Row(equal_height=True):
87
  inp = gr.Textbox(
88
  label="Prompt", elem_id="prompt-box",
89
+ lines=20, max_lines=20, scale=3, value=default_experiment
90
  )
91
  outp = gr.Textbox(
92
  label="Response", elem_id="answer-box",