tea-phan-y
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
143 |
with gr.Row():
|
144 |
with gr.Column():
|
145 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
146 |
-
answer = gr.Textbox(label="LitBot Response", placeholder="LitBot will respond here...", interactive=False, lines=
|
147 |
submit_button = gr.Button("Submit")
|
148 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
149 |
|
|
|
143 |
with gr.Row():
|
144 |
with gr.Column():
|
145 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
146 |
+
answer = gr.Textbox(label="LitBot Response", placeholder="LitBot will respond here...", interactive=False, lines=20)
|
147 |
submit_button = gr.Button("Submit")
|
148 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
149 |
|