Update app.py
Browse files
app.py
CHANGED
@@ -196,7 +196,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
196 |
gr.Markdown(headline)
|
197 |
question = gr.Textbox(label="Your question:", placeholder="What do you want to ask about?")
|
198 |
submit_button = gr.Button("Submit!")
|
199 |
-
answer = gr.Textbox(label="AI-nswer:", placeholder="
|
200 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
201 |
gr.Image("einy.png", container = False, show_share_button = False, show_download_button = False, label="output", show_label=True, elem_id="output_image", scale=0, width=500)
|
202 |
|
|
|
196 |
gr.Markdown(headline)
|
197 |
question = gr.Textbox(label="Your question:", placeholder="What do you want to ask about?")
|
198 |
submit_button = gr.Button("Submit!")
|
199 |
+
answer = gr.Textbox(label="AI-nswer:", placeholder="Albot AI-nstein says Hello, World! \nAsk me anything about AI ML, and helpful tools you may want to use!", interactive=False, lines=10)
|
200 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
201 |
gr.Image("einy.png", container = False, show_share_button = False, show_download_button = False, label="output", show_label=True, elem_id="output_image", scale=0, width=500)
|
202 |
|