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