marcelbinz commited on
Commit
516228d
·
verified ·
1 Parent(s): 242ed7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -54,8 +54,8 @@ You predict that Player will choose option <<
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
  """
61
  ) as demo:
@@ -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=20, max_lines=20, scale=3, value=default_experiment
90
  )
91
  outp = gr.Textbox(
92
  label="Response", elem_id="answer-box",
 
54
  with gr.Blocks(
55
  fill_width=True,
56
  css="""
57
+ #prompt-box textarea {height:512px}
58
+ #answer-box textarea {height:512px}
59
  #info-box {margin-bottom: 1rem} /* a little spacing */
60
  """
61
  ) as demo:
 
86
  with gr.Row(equal_height=True):
87
  inp = gr.Textbox(
88
  label="Prompt", elem_id="prompt-box",
89
+ lines=24, max_lines=24, scale=3, value=default_experiment
90
  )
91
  outp = gr.Textbox(
92
  label="Response", elem_id="answer-box",