NaimaAqeel commited on
Commit
5eaad3c
·
verified ·
1 Parent(s): c8af283

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -159,7 +159,7 @@ def main():
159
  query_interface = gr.Interface(
160
  fn=process_and_query,
161
  inputs=[gr.State(), gr.Textbox(label="Enter your query")],
162
- outputs=gr.Textbox(label="Query Response")
163
  )
164
 
165
  with gr.Blocks() as demo:
@@ -172,3 +172,4 @@ def main():
172
 
173
  if __name__ == "__main__":
174
  main()
 
 
159
  query_interface = gr.Interface(
160
  fn=process_and_query,
161
  inputs=[gr.State(), gr.Textbox(label="Enter your query")],
162
+ outputs=[gr.Textbox(label="Query Response"), gr.State()]
163
  )
164
 
165
  with gr.Blocks() as demo:
 
172
 
173
  if __name__ == "__main__":
174
  main()
175
+