Update app.py
Browse files
app.py
CHANGED
@@ -168,9 +168,9 @@ with gr.Blocks(theme=theme) as demo:
|
|
168 |
gr.Markdown(topics) # Show the topics on the left side
|
169 |
with gr.Row():
|
170 |
with gr.Column():
|
171 |
-
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
172 |
-
submit_button = gr.Button("Submit")
|
173 |
-
answer = gr.Textbox(label="AI-
|
174 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
175 |
|
176 |
|
|
|
168 |
gr.Markdown(topics) # Show the topics on the left side
|
169 |
with gr.Row():
|
170 |
with gr.Column():
|
171 |
+
question = gr.Textbox(label="Your question:", placeholder="What do you want to ask about?")
|
172 |
+
submit_button = gr.Button("Submit!")
|
173 |
+
answer = gr.Textbox(label="AI-nswer:", placeholder="AI-nstein will respond here...", interactive=False, lines=10)
|
174 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
175 |
|
176 |
|