marcelbinz commited on
Commit
0c9991b
·
verified ·
1 Parent(s): 41a278c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -5
app.py CHANGED
@@ -52,9 +52,16 @@ You predict that Player will choose option <<
52
  with gr.Blocks(
53
  fill_width=True,
54
  css="""
55
- #prompt-box textarea {height:400px}
56
- #info-box {margin-bottom: 1rem} /* a little spacing */
57
- """
 
 
 
 
 
 
 
58
  ) as demo:
59
 
60
  # (optional) add a logo or hero image
@@ -81,8 +88,8 @@ with gr.Blocks(
81
  inp = gr.Textbox(
82
  label="Prompt",
83
  elem_id="prompt-box",
84
- lines=20,
85
- max_lines=24,
86
  scale=3,
87
  value=default_experiment,
88
  )
 
52
  with gr.Blocks(
53
  fill_width=True,
54
  css="""
55
+ #prompt-box textarea {
56
+ height: 400px;
57
+ border: none !important; /* kill the border */
58
+ box-shadow: none !important; /* remove the inset grey outline */
59
+ }
60
+ #prompt-box textarea:focus {
61
+ outline: none !important; /* no blue outline on focus */
62
+ }
63
+ #info-box {margin-bottom: 1rem}
64
+ """,
65
  ) as demo:
66
 
67
  # (optional) add a logo or hero image
 
88
  inp = gr.Textbox(
89
  label="Prompt",
90
  elem_id="prompt-box",
91
+ lines=16,
92
+ max_lines=16,
93
  scale=3,
94
  value=default_experiment,
95
  )