deepozzzie commited on
Commit
f73474f
·
1 Parent(s): 3c631fa
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,7 +75,7 @@ def infer(question, history):
75
  result = qa({"question": query, "chat_history": chat_history})
76
  #print(result)
77
  return result["answer"]
78
-
79
  css="""
80
  #col-container {max-width: 700px; margin-left: auto; margin-right: auto;}
81
  """
@@ -112,6 +112,6 @@ with gr.Blocks(css=css) as demo:
112
  submit_btn.click(add_text, [chatbot, question], [chatbot, question]).then(
113
  bot, chatbot, chatbot)
114
 
115
- print(history)
116
 
117
  demo.launch()
 
75
  result = qa({"question": query, "chat_history": chat_history})
76
  #print(result)
77
  return result["answer"]
78
+ print(history)
79
  css="""
80
  #col-container {max-width: 700px; margin-left: auto; margin-right: auto;}
81
  """
 
112
  submit_btn.click(add_text, [chatbot, question], [chatbot, question]).then(
113
  bot, chatbot, chatbot)
114
 
115
+
116
 
117
  demo.launch()