Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|
| 58 |
-
#answer-box textarea {height:
|
| 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=
|
| 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:400px}
|
| 58 |
+
#answer-box textarea {height:400px}
|
| 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=20, max_lines=24, scale=3, value=default_experiment
|
| 90 |
)
|
| 91 |
outp = gr.Textbox(
|
| 92 |
label="Response", elem_id="answer-box",
|