kellydoesstuff commited on
Commit
f7b0002
·
verified ·
1 Parent(s): 0b3512b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ with gr.Blocks(theme='gradio/soft') as demo:
145
 
146
  # callback.setup([chatbot], "flagged_data_points")
147
  # flag_btn.click(lambda *args: callback.flag(args), [chatbot], None, preprocess=False)
148
- gr.Interface(
149
  fn=query_model,
150
  inputs=gr.Textbox(label="Your question", placeholder="What do you want to ask about?"),
151
  outputs=gr.Textbox(label="RotBot Response", placeholder="RotBot will respond here...", interactive=False, lines=10),
 
145
 
146
  # callback.setup([chatbot], "flagged_data_points")
147
  # flag_btn.click(lambda *args: callback.flag(args), [chatbot], None, preprocess=False)
148
+ chatbot = gr.Interface(
149
  fn=query_model,
150
  inputs=gr.Textbox(label="Your question", placeholder="What do you want to ask about?"),
151
  outputs=gr.Textbox(label="RotBot Response", placeholder="RotBot will respond here...", interactive=False, lines=10),