tea-phan-y commited on
Commit
c55b146
·
verified ·
1 Parent(s): c6493da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -155,10 +155,10 @@ with gr.Blocks(theme='katiiegomez/litbot-revamped') as demo:
155
  interactive = True )
156
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
157
  gr.Markdown(space)
 
158
  submit_button = gr.Button("Submit")
159
  submit_button.click(fn=query_model, inputs=question and book, outputs=answer)
160
  submit_button.click(fn=query_model, inputs=question and book, outputs=answer)
161
- answer = gr.Textbox(label="LitBot Response", placeholder="LitBot will respond here...", interactive=False, lines=30)
162
 
163
 
164
  # Launch the Gradio app to allow user interaction
 
155
  interactive = True )
156
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
157
  gr.Markdown(space)
158
+ answer = gr.Textbox(label="LitBot Response", placeholder="LitBot will respond here...", interactive=False, lines=30)
159
  submit_button = gr.Button("Submit")
160
  submit_button.click(fn=query_model, inputs=question and book, outputs=answer)
161
  submit_button.click(fn=query_model, inputs=question and book, outputs=answer)
 
162
 
163
 
164
  # Launch the Gradio app to allow user interaction