sophcheng commited on
Commit
86ee4b8
·
verified ·
1 Parent(s): 4e4c06e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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-nstein Response", placeholder="AI-nstein will respond here...", interactive=False, lines=10)
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