Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,9 +20,9 @@ with gr.Blocks(fill_width=True, css="""
|
|
| 20 |
""") as demo:
|
| 21 |
with gr.Row(equal_height=True):
|
| 22 |
inp = gr.Textbox(label="Prompt", elem_id="prompt-box",
|
| 23 |
-
lines=
|
| 24 |
outp = gr.Textbox(label="Response", elem_id="answer-box",
|
| 25 |
-
lines=
|
| 26 |
|
| 27 |
run = gr.Button("Run")
|
| 28 |
run.click(infer, inp, outp)
|
|
|
|
| 20 |
""") as demo:
|
| 21 |
with gr.Row(equal_height=True):
|
| 22 |
inp = gr.Textbox(label="Prompt", elem_id="prompt-box",
|
| 23 |
+
lines=12, max_lines=12, scale=3)
|
| 24 |
outp = gr.Textbox(label="Response", elem_id="answer-box",
|
| 25 |
+
lines=1, interactive=False, scale=3)
|
| 26 |
|
| 27 |
run = gr.Button("Run")
|
| 28 |
run.click(infer, inp, outp)
|